3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f() { $foo = null; $foo->foo(); } function f1() { f(); } set_error_handler(function() { var_dump(func_get_args());}, 0xffffffff); f1();

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.0060.00918.30
8.3.50.0070.01117.89
8.3.40.0060.01018.91
8.3.30.0060.00918.90
8.3.20.0040.00421.77
8.3.10.0000.00723.48
8.3.00.0040.00423.65
8.2.180.0140.00316.63
8.2.170.0090.00618.94
8.2.160.0070.00722.96
8.2.150.0000.00924.18
8.2.140.0080.00024.66
8.2.130.0080.00020.97
8.2.120.0000.00726.35
8.2.110.0100.00021.04
8.2.100.0090.00317.78
8.2.90.0080.00017.97
8.2.80.0000.00818.04
8.2.70.0090.00017.93
8.2.60.0030.00617.80
8.2.50.0070.00018.10
8.2.40.0060.00319.23
8.2.30.0000.00719.25
8.2.20.0050.00318.05
8.2.10.0000.00718.02
8.2.00.0040.00418.07
8.1.280.0100.00725.92
8.1.270.0080.00023.70
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0060.00323.96
8.1.230.0030.00720.88
8.1.220.0040.00417.74
8.1.210.0040.00418.91
8.1.200.0050.00517.48
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0000.00818.50
8.1.160.0040.00418.88
8.1.150.0070.00018.84
8.1.140.0000.00717.70
8.1.130.0030.00319.05
8.1.120.0070.00017.43
8.1.110.0050.00317.36
8.1.100.0030.00617.48
8.1.90.0000.00817.37
8.1.80.0000.00817.47
8.1.70.0080.00317.34
8.1.60.0060.00317.45
8.1.50.0000.00817.53
8.1.40.0040.00417.55
8.1.30.0000.00817.54
8.1.20.0000.00717.70
8.1.10.0070.00417.54
8.1.00.0050.00317.47
8.0.300.0000.00719.52
8.0.290.0040.00416.63
8.0.280.0070.00018.33
8.0.270.0000.00717.07
8.0.260.0050.00217.18
8.0.250.0000.00716.87
8.0.240.0030.00616.88
8.0.230.0000.00716.91
8.0.220.0030.00616.75
8.0.210.0020.00516.77
8.0.200.0030.00316.90
8.0.190.0050.00317.02
8.0.180.0070.00016.90
8.0.170.0040.00416.97
8.0.160.0040.00416.85
8.0.150.0080.00016.89
8.0.140.0050.00216.84
8.0.130.0000.00513.33
8.0.120.0040.00416.80
8.0.110.0000.00816.89
8.0.100.0050.00217.06
8.0.90.0050.00316.97
8.0.80.0090.00616.92
8.0.70.0000.00816.85
8.0.60.0050.00217.02
8.0.50.0070.00016.73
8.0.30.0080.01017.09
8.0.20.0100.01017.41
8.0.10.0070.00017.06
8.0.00.0110.00616.90
7.4.330.0040.00015.55
7.4.320.0050.00216.59
7.4.300.0030.00316.48
7.4.290.0070.00016.61
7.4.280.0050.00516.59
7.4.270.0000.00616.40
7.4.260.0070.00016.45
7.4.250.0040.00416.50
7.4.240.0000.00716.61
7.4.230.0030.00316.50
7.4.220.0050.00316.48
7.4.210.0090.00716.45
7.4.200.0030.00316.60
7.4.160.0120.00416.60
7.4.140.0130.00517.86
7.4.130.0030.01316.48
7.4.120.0110.00716.52
7.4.110.0060.01316.61
7.4.100.0080.00816.62
7.4.90.0060.01216.57
7.4.80.0060.01619.39
7.4.70.0130.00316.47
7.4.60.0030.01316.53
7.4.50.0030.01216.31
7.4.40.0100.00716.43
7.4.00.0080.00815.00
7.3.330.0030.00313.32
7.3.320.0060.00013.30
7.3.310.0030.00316.25
7.3.300.0070.00016.31
7.3.290.0070.00016.31
7.3.280.0130.00716.24
7.3.260.0120.00916.47
7.3.240.0110.01016.43
7.3.230.0030.01316.26
7.3.210.0110.00616.46
7.3.200.0030.01416.38
7.3.190.0000.01616.41
7.3.180.0090.00916.23
7.3.170.0100.00616.38
7.3.160.0000.01716.44
7.3.10.0100.00716.68
7.3.00.0030.01316.73
7.2.330.0130.00616.54
7.2.320.0040.01416.64
7.2.310.0140.01016.40
7.2.300.0170.00016.47
7.2.290.0120.01316.55
7.2.130.0060.00916.65
7.2.120.0000.01417.00
7.2.110.0120.00016.76
7.2.100.0070.00716.94
7.2.90.0040.00816.89
7.2.80.0130.00316.92
7.2.70.0040.01116.80
7.2.60.0040.01116.72
7.2.50.0070.00716.93
7.2.40.0700.01217.55
7.2.30.0770.01317.57
7.2.20.0810.01017.57
7.2.10.0920.00917.51
7.2.00.0750.00917.35
7.1.250.0090.00615.52
7.1.200.0130.00015.67
7.1.160.1120.00916.70
7.1.150.1100.01016.71
7.1.140.1250.01116.70
7.1.130.1080.01216.59
7.1.120.1120.01116.83
7.1.110.1150.00816.38
7.1.100.1320.01016.22
7.1.90.1070.00916.01
7.1.80.1030.01016.20
7.1.70.1080.01115.05
7.1.60.1280.01233.09
7.1.50.1600.01032.93
7.1.40.1330.01732.49
7.1.30.1700.01232.51
7.1.20.1490.01632.65
7.1.10.1210.01514.67
7.1.00.1020.01114.69

preferences:
62.77 ms | 401 KiB | 5 Q