3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f() { $debug = TRUE; if($debug) { return; } echo "Never got here"; } f();

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.0080.00818.43
8.3.50.0090.00618.07
8.3.40.0060.00918.69
8.3.30.0100.00318.53
8.3.20.0040.00420.16
8.3.10.0060.00320.78
8.3.00.0070.00020.71
8.2.180.0070.00718.18
8.2.170.0060.01222.96
8.2.160.0100.00320.38
8.2.150.0070.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0080.00021.00
8.2.110.0090.00022.27
8.2.100.0070.00417.66
8.2.90.0050.00319.05
8.2.80.0000.00817.97
8.2.70.0000.01117.63
8.2.60.0040.00417.80
8.2.50.0030.00618.10
8.2.40.0080.00020.30
8.2.30.0060.00319.23
8.2.20.0000.00717.99
8.2.10.0040.00417.86
8.2.00.0070.00017.88
8.1.280.0120.00325.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0000.00922.74
8.1.230.0060.00617.70
8.1.220.0030.00617.79
8.1.210.0000.00818.77
8.1.200.0050.00517.35
8.1.190.0060.00317.23
8.1.180.0070.00018.10
8.1.170.0000.00818.47
8.1.160.0070.00018.91
8.1.150.0000.00718.86
8.1.140.0050.00519.50
8.1.130.0030.00718.85
8.1.120.0000.00717.39
8.1.110.0000.00717.42
8.1.100.0040.00417.23
8.1.90.0040.00417.40
8.1.80.0070.00017.42
8.1.70.0070.00017.39
8.1.60.0030.00617.46
8.1.50.0050.00317.49
8.1.40.0080.00317.50
8.1.30.0060.00317.67
8.1.20.0000.00817.68
8.1.10.0000.00817.44
8.1.00.0040.00417.40
8.0.300.0040.00418.77
8.0.290.0030.00516.63
8.0.280.0030.00318.37
8.0.270.0000.00716.65
8.0.260.0020.00519.04
8.0.250.0070.00016.85
8.0.240.0000.00816.87
8.0.230.0000.00716.87
8.0.220.0030.00316.77
8.0.210.0000.00716.82
8.0.200.0080.00016.77
8.0.190.0080.00016.78
8.0.180.0040.00416.80
8.0.170.0040.00416.83
8.0.160.0030.00316.82
8.0.150.0080.00416.83
8.0.140.0040.00416.76
8.0.130.0030.00313.23
8.0.120.0070.00016.79
8.0.110.0060.00316.79
8.0.100.0040.00416.71
8.0.90.0070.00016.70
8.0.80.0030.01116.87
8.0.70.0070.00016.71
8.0.60.0070.00016.65
8.0.50.0000.00716.88
8.0.30.0100.00817.03
8.0.20.0070.01117.40
8.0.10.0040.00316.88
8.0.00.0070.01016.95
7.4.330.0000.00515.55
7.4.320.0030.00316.43
7.4.300.0060.00016.39
7.4.290.0070.00416.63
7.4.280.0080.00016.57
7.4.270.0000.00716.45
7.4.260.0050.00316.41
7.4.250.0070.00016.40
7.4.240.0000.00716.45
7.4.230.0030.00316.46
7.4.220.0120.00616.40
7.4.210.0060.00916.45
7.4.200.0000.00716.29
7.4.160.0080.01116.41
7.4.150.0030.01317.40
7.4.140.0100.00717.86
7.4.130.0140.00616.39
7.4.120.0070.01416.49
7.4.110.0170.00316.59
7.4.100.0140.00716.49
7.4.90.0130.00316.48
7.4.80.0090.00819.39
7.4.70.0100.00616.27
7.4.60.0130.00316.40
7.4.50.0040.01116.20
7.4.40.0130.00316.46
7.4.30.0130.00316.32
7.4.00.0070.01015.07
7.3.330.0030.00313.04
7.3.320.0030.00313.21
7.3.310.0070.00016.18
7.3.300.0030.00316.19
7.3.290.0120.00716.28
7.3.280.0070.00816.21
7.3.270.0100.00717.40
7.3.260.0100.00716.18
7.3.250.0070.01116.34
7.3.240.0100.00716.37
7.3.230.0060.01216.45
7.3.210.0150.00316.56
7.3.200.0120.00316.30
7.3.190.0070.00916.59
7.3.180.0110.00516.33
7.3.170.0080.00816.19
7.3.160.0140.00316.14
7.2.330.0070.01116.23
7.2.320.0150.00816.23
7.2.310.0100.01016.21
7.2.300.0110.01116.61
7.2.290.0070.00716.41
7.2.60.0040.00716.73
7.1.200.0160.00015.39
7.1.70.1820.01014.93
7.1.60.2410.01433.30
7.1.50.2050.00932.83
7.1.40.2020.01932.57
7.1.30.2440.01332.53
7.1.20.1860.01632.59
7.1.10.2150.00614.54
7.1.00.2080.01414.82
7.0.200.2470.01314.73
7.0.190.2900.01514.71
7.0.180.1760.01314.21
7.0.170.2930.01314.11
7.0.160.2200.00614.51
7.0.150.2160.00914.27
7.0.140.2080.00914.30
7.0.130.2130.00314.69
7.0.120.2070.01014.53
7.0.110.2010.01314.50
7.0.100.1920.01114.53
7.0.90.2030.01514.38
7.0.80.2030.01214.47
7.0.70.2160.00314.27
7.0.60.2050.01314.25
7.0.50.2090.01514.68
7.0.40.2260.00614.32
7.0.30.2150.01314.60
7.0.20.2220.00614.57
7.0.10.2160.01014.48
7.0.00.2270.01014.55

preferences:
57.69 ms | 400 KiB | 5 Q