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); register_shutdown_function(function() { var_dump(error_get_last()); }); 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.40.0090.00619.02
8.3.30.0040.01118.67
8.3.20.0000.00821.73
8.3.10.0080.00023.71
8.3.00.0080.00023.60
8.2.170.0150.00019.04
8.2.160.0070.00722.96
8.2.150.0050.00224.18
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0000.00721.02
8.2.110.0100.00021.06
8.2.100.0060.00917.72
8.2.90.0080.00018.03
8.2.80.0060.00318.96
8.2.70.0030.00518.05
8.2.60.0060.00317.93
8.2.50.0040.00418.10
8.2.40.0060.00319.22
8.2.30.0040.00419.24
8.2.20.0030.00618.07
8.2.10.0070.00018.23
8.2.00.0040.00418.11
8.1.270.0070.00023.97
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0070.00322.48
8.1.230.0040.00720.98
8.1.220.0040.00417.76
8.1.210.0030.00618.91
8.1.200.0040.00417.48
8.1.190.0060.00317.23
8.1.180.0000.00818.10
8.1.170.0060.00318.56
8.1.160.0000.00718.91
8.1.150.0070.00018.81
8.1.140.0000.00717.62
8.1.130.0040.00419.00
8.1.120.0000.00817.47
8.1.110.0000.00817.46
8.1.100.0070.00417.49
8.1.90.0080.00017.39
8.1.80.0000.00717.36
8.1.70.0030.00717.34
8.1.60.0090.00017.64
8.1.50.0050.00317.53
8.1.40.0000.00817.44
8.1.30.0060.00317.72
8.1.20.0050.00217.61
8.1.10.0040.00817.57
8.1.00.0040.00417.35
8.0.300.0040.00419.86
8.0.290.0030.00616.75
8.0.280.0030.00318.38
8.0.270.0070.00017.19
8.0.260.0000.00717.18
8.0.250.0000.00716.91
8.0.240.0020.00516.81
8.0.230.0020.00516.91
8.0.220.0000.00716.77
8.0.210.0070.00016.77
8.0.200.0000.00717.01
8.0.190.0000.00716.87
8.0.180.0070.00017.00
8.0.170.0040.00416.98
8.0.160.0040.00416.87
8.0.150.0030.00316.91
8.0.140.0030.00516.78
8.0.130.0000.00613.35
8.0.120.0020.00516.87
8.0.110.0030.00616.77
8.0.100.0070.00016.93
8.0.90.0070.00016.89
8.0.80.0040.01216.98
8.0.70.0070.00016.78
8.0.60.0060.00316.77
8.0.50.0040.00416.75
8.0.30.0110.00817.05
8.0.20.0050.01317.40
8.0.10.0030.00516.94
8.0.00.0110.01116.71
7.4.330.0050.00015.55
7.4.320.0000.00616.57
7.4.300.0000.00616.52
7.4.290.0070.00016.50
7.4.280.0060.00316.61
7.4.270.0040.00416.56
7.4.260.0070.00016.46
7.4.250.0000.00716.58
7.4.240.0040.00416.40
7.4.230.0000.00716.25
7.4.220.0030.00516.61
7.4.210.0070.01116.58
7.4.200.0040.00416.34
7.4.160.0080.00816.49
7.4.140.0080.00917.86
7.4.130.0090.01216.48
7.4.120.0120.00716.52
7.4.110.0130.00516.57
7.4.100.0090.00916.60
7.4.90.0100.00716.44
7.4.80.0200.00019.39
7.4.70.0090.00616.38
7.4.60.0090.00816.56
7.4.50.0090.00616.62
7.4.40.0090.00616.55
7.4.00.0060.01215.00
7.3.330.0000.00513.16
7.3.320.0060.00013.25
7.3.310.0030.00316.19
7.3.300.0030.00316.14
7.3.290.0040.00416.15
7.3.280.0080.01016.33
7.3.260.0090.01116.34
7.3.240.0100.00816.39
7.3.230.0150.00316.41
7.3.210.0100.00816.21
7.3.200.0060.01216.34
7.3.190.0060.01016.31
7.3.180.0070.01416.20
7.3.170.0060.01316.35
7.3.160.0060.00916.40
7.3.120.0060.00914.69
7.3.110.0040.01114.80
7.3.100.0050.00914.80
7.3.90.0070.00714.71
7.3.80.0030.01214.68
7.3.70.0030.01014.72
7.3.60.0080.00614.74
7.3.50.0060.00514.64
7.3.40.0060.00814.80
7.3.30.0060.00814.67
7.3.20.0030.01016.63
7.3.10.0070.00716.70
7.3.00.0060.00816.61
7.2.330.0060.01316.48
7.2.320.0100.00616.50
7.2.310.0120.00616.63
7.2.300.0100.01316.57
7.2.290.0130.01016.59
7.2.250.0060.01214.90
7.2.240.0090.01014.89
7.2.230.0050.01014.90
7.2.220.0040.01014.66
7.2.210.0060.00914.74
7.2.200.0030.01114.91
7.2.190.0030.00914.79
7.2.180.0090.00514.94
7.2.170.0080.00614.84
7.2.160.0060.00615.03
7.2.150.0100.00616.91
7.2.140.0060.00916.82
7.2.130.0020.01616.76
7.2.120.0120.00416.62
7.2.110.0100.00616.66
7.2.100.0110.00716.79
7.2.90.0040.00916.75
7.2.80.0070.00716.74
7.2.70.0070.00616.87
7.2.60.0100.00716.84
7.2.50.0120.00416.80
7.2.40.0290.00917.10
7.2.30.0260.00717.06
7.2.20.0290.01017.00
7.2.10.0410.00917.12
7.2.00.0270.01017.04
7.1.330.0070.00615.68
7.1.320.0060.00515.74
7.1.310.0070.00615.69
7.1.300.0030.00615.42
7.1.290.0060.00615.61
7.1.280.0060.00715.51
7.1.270.0080.00615.57
7.1.260.0020.01215.70
7.1.250.0150.00215.51
7.1.200.0120.00015.66
7.1.160.0850.00716.37
7.1.150.0730.00916.89
7.1.140.0940.00916.74
7.1.130.0940.00916.86
7.1.120.0820.01116.54
7.1.110.0930.00816.13
7.1.100.1000.00916.13
7.1.90.1090.00716.26
7.1.80.1090.01216.41
7.1.70.1600.01315.35
7.1.60.1550.02133.21
7.1.50.1300.01533.02
7.1.40.1390.01532.45
7.1.30.1100.01532.35
7.1.20.1760.01432.59
7.1.10.1290.01114.53
7.1.00.1750.01514.64

preferences:
62.29 ms | 400 KiB | 5 Q