3v4l.org

run code in 300+ PHP versions simultaneously
<?php trigger_error('this is no problem - just a notice'); set_error_handler(function ($s, $m, $f, $l) { throw new ErrorException($m, 0, $s, $f, $l); }); echo "this will still work fine:"; @trigger_error('see? no problem'); echo "\nthis, however, will not:"; trigger_error('problems');
based on 222oU

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.0.30.0070.01317.13
8.0.20.0100.00817.10
8.0.00.0050.01716.73
7.4.140.0110.01017.86
7.4.130.0110.00616.67
7.4.120.0160.00616.57
7.4.110.0150.00316.47
7.4.100.0070.01016.71
7.4.90.0070.01016.38
7.4.80.0040.01519.39
7.4.70.0070.01116.38
7.4.60.0100.01116.38
7.4.50.0070.01016.36
7.4.40.0130.00916.54
7.4.00.0060.00615.00
7.3.280.0090.00816.25
7.3.260.0090.00916.40
7.3.240.0090.00816.47
7.3.230.0130.00316.56
7.3.210.0110.00716.51
7.3.200.0110.01116.35
7.3.190.0060.01016.36
7.3.180.0080.00816.39
7.3.170.0090.01216.29
7.3.160.0090.00916.43
7.3.120.0060.00914.60
7.3.110.0100.00614.64
7.3.100.0000.01014.73
7.3.90.0040.01414.79
7.3.80.0000.01514.61
7.3.70.0130.00014.71
7.3.60.0130.00014.86
7.3.50.0070.00514.73
7.3.40.0070.00914.74
7.3.30.0040.00614.72
7.3.20.0130.00716.68
7.3.10.0060.00616.53
7.3.00.0110.00816.47
7.2.330.0060.01316.62
7.2.320.0000.01716.67
7.2.310.0090.00916.67
7.2.300.0090.00816.61
7.2.290.0090.00916.70
7.2.240.0120.00314.97
7.2.230.0100.00614.89
7.2.220.0100.00314.92
7.2.210.0030.00714.64
7.2.200.0110.00415.09
7.2.190.0060.00314.90
7.2.180.0100.00114.91
7.2.170.0060.01114.97
7.2.160.0060.00614.86
7.2.150.0130.00316.88
7.2.140.0070.00516.75
7.2.130.0070.00316.94
7.2.120.0020.00816.88
7.2.110.0110.00016.69
7.2.100.0080.00616.82
7.2.90.0070.00716.94
7.2.80.0070.00516.82
7.2.70.0050.00616.71
7.2.60.0100.00816.93
7.2.50.0060.00816.86
7.2.40.0090.00716.95
7.2.30.0030.01016.91
7.2.20.0070.00516.84
7.2.10.0110.00316.71
7.2.00.0050.01016.78
7.1.330.0070.00715.54
7.1.320.0030.01215.79
7.1.310.0030.01015.61
7.1.300.0080.00815.68
7.1.290.0070.00715.57
7.1.280.0080.00615.70
7.1.270.0030.01015.64
7.1.260.0020.00915.76
7.1.250.0060.00415.60