3v4l.org

run code in 300+ PHP versions simultaneously
<?php $client = new stdClass(); $client->Get = function($path) use($client) { echo $client->GetAccessToken(); }; $client->GetAccessToken = function() use($client) { return 'bar'; }; $client->Get();

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0090.01316.75
8.3.50.0140.00316.29
8.3.40.0120.00618.79
8.3.30.0140.00018.80
8.3.20.0080.00019.93
8.3.10.0080.00023.49
8.3.00.0040.00423.61
8.2.180.0120.00918.79
8.2.170.0140.00022.96
8.2.160.0110.00420.52
8.2.150.0080.00025.66
8.2.140.0030.00524.66
8.2.130.0050.00319.88
8.2.120.0000.00726.35
8.2.110.0030.00620.36
8.2.100.0070.00417.72
8.2.90.0080.00019.05
8.2.80.0050.00318.04
8.2.70.0060.00317.63
8.2.60.0100.00317.93
8.2.50.0030.00618.07
8.2.40.0040.00422.32
8.2.30.0000.00720.57
8.2.20.0080.00017.73
8.2.10.0000.00817.94
8.2.00.0040.00418.06
8.1.280.0090.00625.92
8.1.270.0060.00324.00
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0040.00423.86
8.1.230.0000.01122.07
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0080.00017.35
8.1.190.0080.00516.88
8.1.180.0070.00318.10
8.1.170.0050.00318.71
8.1.160.0000.00720.80
8.1.150.0000.00718.86
8.1.140.0040.00419.58
8.1.130.0000.00717.64
8.1.120.0000.00717.52
8.1.110.0000.00817.35
8.1.100.0000.00717.49
8.1.90.0090.00017.46
8.1.80.0000.00717.37
8.1.70.0000.00717.54
8.1.60.0070.00017.51
8.1.50.0040.00417.52
8.1.40.0030.00517.49
8.1.30.0040.00417.66
8.1.20.0040.00417.63
8.1.10.0000.00717.47
8.1.00.0060.00317.41
8.0.300.0070.00018.77
8.0.290.0050.00216.75
8.0.280.0000.00718.45
8.0.270.0070.00017.06
8.0.260.0030.00317.11
8.0.250.0030.00517.03
8.0.240.0020.00516.96
8.0.230.0070.00316.96
8.0.220.0040.00416.99
8.0.210.0030.00316.91
8.0.200.0030.00616.93
8.0.190.0040.00416.91
8.0.180.0040.00417.02
8.0.170.0040.00416.95
8.0.160.0000.00717.05
8.0.150.0070.00016.88
8.0.140.0030.00716.80
8.0.130.0030.00313.36
8.0.120.0000.00816.85
8.0.110.0050.00216.86
8.0.100.0040.00417.02
8.0.90.0050.00317.01
8.0.80.0080.00616.95
8.0.70.0050.00316.76
8.0.60.0040.00416.85
8.0.50.0000.00717.07
8.0.30.0110.00617.03
8.0.20.0140.00517.40
8.0.10.0040.00417.15
8.0.00.0090.00816.71
7.4.330.0050.00016.66
7.4.320.0000.00616.53
7.4.300.0090.00016.61
7.4.290.0030.00316.61
7.4.280.0000.01016.58
7.4.270.0030.00316.62
7.4.260.0030.00616.49
7.4.250.0000.00716.47
7.4.240.0050.00216.57
7.4.230.0000.00716.59
7.4.220.0150.00416.55
7.4.210.0040.01116.68
7.4.200.0040.00416.59
7.4.160.0090.00916.46
7.4.150.0110.00717.40
7.4.140.0090.00917.86
7.4.130.0100.01016.64
7.4.120.0120.00916.58
7.4.110.0120.00516.58
7.4.100.0070.01016.44
7.4.90.0070.01016.47
7.4.80.0130.01319.39
7.4.70.0100.00716.68
7.4.60.0100.00616.63
7.4.50.0080.00516.60
7.4.40.0150.00616.62
7.4.30.0070.01016.48
7.4.00.0060.00614.93
7.3.330.0050.00013.34
7.3.320.0050.00013.32
7.3.310.0000.00716.46
7.3.300.0060.00016.40
7.3.290.0060.00816.30
7.3.280.0070.01016.38
7.3.270.0070.01017.40
7.3.260.0100.00716.63
7.3.250.0090.00916.41
7.3.240.0080.01116.47
7.3.230.0100.00616.39
7.3.210.0120.00616.55
7.3.200.0070.01019.39
7.3.190.0090.01016.38
7.3.180.0120.00416.49
7.3.170.0060.00916.47
7.3.160.0110.00516.59
7.2.330.0090.00916.48
7.2.320.0110.01116.51
7.2.310.0090.00916.42
7.2.300.0090.01216.68
7.2.290.0030.01316.48
7.2.60.0100.00316.81
7.2.00.0000.01419.46
7.1.200.0000.01315.98
7.1.100.0040.00718.29
7.1.70.0030.00517.16
7.1.60.0000.02419.21
7.1.50.0040.01517.04
7.1.00.0030.07322.37
7.0.200.0040.00416.70
7.0.60.0070.03021.68
7.0.50.0070.08317.86
7.0.40.0070.05020.40
7.0.30.0270.08020.23
7.0.20.0100.04720.24
7.0.10.0170.06720.16
7.0.00.0130.05020.10
5.6.280.0030.03321.04
5.6.210.0070.04020.61
5.6.200.0000.04318.29
5.6.190.0070.08720.49
5.6.180.0430.07320.50
5.6.170.0270.04720.39
5.6.160.0030.08720.49
5.6.150.0100.07718.29
5.6.140.0030.04018.24
5.6.130.0030.04018.15
5.6.120.0070.09021.00
5.6.110.0070.05021.12
5.6.100.0070.07021.05
5.6.90.0130.06321.01
5.6.80.0100.07020.27
5.5.350.0170.08320.30
5.5.340.0130.07718.05
5.5.330.0170.07020.13
5.5.320.0770.05020.30
5.5.310.0270.07720.24
5.5.300.0030.04318.01
5.5.290.0030.08318.08
5.5.280.0130.08320.74
5.5.270.0170.07020.98
5.5.260.0000.09020.77
5.5.250.0000.04320.57
5.5.240.0130.04720.20

preferences:
61.86 ms | 401 KiB | 5 Q