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('see? no problem');

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.0040.01118.30
8.3.50.0100.00817.64
8.3.40.0150.00018.71
8.3.30.0090.00618.66
8.3.20.0070.00021.73
8.3.10.0050.00319.15
8.3.00.0040.00421.73
8.2.180.0110.00325.92
8.2.170.0060.00922.96
8.2.160.0030.01022.24
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0070.00026.16
8.2.110.0030.00720.96
8.2.100.0060.00617.91
8.2.90.0040.00418.03
8.2.80.0080.00017.97
8.2.70.0030.00517.63
8.2.60.0040.00417.63
8.2.50.0050.00317.63
8.2.40.0000.00817.75
8.2.30.0000.00820.32
8.2.20.0080.00018.17
8.2.10.0050.00218.86
8.2.00.0080.00017.94
8.1.280.0200.00325.92
8.1.270.0050.00320.88
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0140.00722.02
8.1.230.0100.00021.09
8.1.220.0040.00417.74
8.1.210.0080.00018.85
8.1.200.0060.00317.35
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0040.00417.65
8.1.160.0040.00418.83
8.1.150.0000.00718.76
8.1.140.0000.00720.34
8.1.130.0030.00320.22
8.1.120.0040.00417.38
8.1.110.0050.00317.41
8.1.100.0000.00717.34
8.1.90.0030.00617.30
8.1.80.0040.00417.28
8.1.70.0000.00717.42
8.1.60.0060.00317.52
8.1.50.0040.00417.36
8.1.40.0030.00617.36
8.1.30.0040.00417.62
8.1.20.0000.00817.51
8.1.10.0040.00417.55
8.1.00.0030.00517.38
8.0.300.0070.00019.92
8.0.290.0000.00916.63
8.0.280.0080.00018.55
8.0.270.0070.00017.32
8.0.260.0000.00618.49
8.0.250.0000.00617.05
8.0.240.0030.00517.07
8.0.230.0050.00317.00
8.0.220.0040.00416.86
8.0.210.0000.00716.85
8.0.200.0000.00817.03
8.0.190.0040.00417.02
8.0.180.0030.00316.99
8.0.170.0050.00316.99
8.0.160.0040.00416.99
8.0.150.0000.00716.94
8.0.140.0000.00716.82
8.0.130.0030.00313.43
8.0.120.0020.00516.86
8.0.110.0070.00017.07
8.0.100.0000.00716.91
8.0.90.0020.00516.96
8.0.80.0060.00916.89
8.0.70.0000.00817.01
8.0.60.0050.00316.79
8.0.50.0040.00416.84
8.0.30.0080.01117.02
8.0.20.0080.01117.10
8.0.10.0040.00417.03
8.0.00.0060.01216.84
7.4.330.0030.00315.55
7.4.320.0000.00716.37
7.4.300.0050.00216.51
7.4.290.0030.00516.50
7.4.280.0020.00516.51
7.4.270.0040.00416.44
7.4.260.0040.00416.54
7.4.250.0000.00716.55
7.4.240.0040.00416.56
7.4.230.0030.00316.59
7.4.220.0000.00816.27
7.4.210.0070.00916.58
7.4.200.0000.00716.40
7.4.160.0100.01116.61
7.4.140.0080.00917.86
7.4.130.0090.00916.50
7.4.120.0090.01216.72
7.4.110.0130.00316.46
7.4.100.0150.00316.52
7.4.90.0180.00016.34
7.4.80.0090.00919.39
7.4.70.0060.01216.54
7.4.60.0060.01116.58
7.4.50.0130.00616.47
7.4.40.0120.01216.43
7.4.00.0080.00814.80
7.3.330.0000.00513.09
7.3.320.0030.00313.38
7.3.310.0070.00016.32
7.3.300.0030.00316.36
7.3.290.0070.00016.19
7.3.280.0060.00916.29
7.3.260.0100.00816.42
7.3.240.0100.00716.45
7.3.230.0050.01116.37
7.3.210.0090.00916.38
7.3.200.0000.02016.47
7.3.190.0080.00816.54
7.3.180.0070.01016.39
7.3.170.0100.01416.48
7.3.160.0060.00916.57
7.3.50.0110.01114.83
7.3.40.0070.00714.84
7.3.30.0130.00014.77
7.3.20.0070.00716.56
7.3.10.0110.00416.69
7.3.00.0060.00616.74
7.2.330.0100.00716.64
7.2.320.0130.00316.73
7.2.310.0070.01016.75
7.2.300.0160.00016.22
7.2.290.0060.00916.80
7.2.180.0000.01315.00
7.2.170.0080.00514.94
7.2.160.0100.00314.98
7.2.150.0110.01117.00
7.2.140.0120.00016.98
7.2.130.0100.00616.90
7.2.120.0120.00916.80
7.2.110.0090.00316.91
7.2.100.0130.00316.82
7.2.90.0100.01216.60
7.2.80.0060.00616.66
7.2.70.0030.00816.79
7.2.60.0130.00716.59
7.2.50.0100.00316.96
7.2.40.0070.01116.91
7.2.30.0130.00916.91
7.2.20.0080.00816.86
7.2.10.0060.00616.73
7.2.00.0070.00716.72
7.1.280.0030.01015.64
7.1.270.0100.00315.45
7.1.260.0000.01415.82
7.1.250.0060.00615.47

preferences:
61.22 ms | 401 KiB | 5 Q