3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function (int $serverity, string $message, string $filename, int $line) { if (error_reporting() === 0) { //C'รจ una @ } else { http_response_code(500); var_dump("throw"); throw new \ErrorException($message, 0, $serverity, $filename, $line); } }); $ciao = "ciao"; $ciao();

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.0160.00418.55
8.3.50.0070.01116.36
8.3.40.0110.00718.63
8.3.30.0070.00718.67
8.3.20.0070.00021.95
8.3.10.0080.00021.72
8.3.00.0040.00417.93
8.2.180.0040.01518.29
8.2.170.0040.01122.96
8.2.160.0140.00321.06
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00722.08
8.2.120.0050.00326.35
8.2.110.0030.00622.26
8.2.100.0040.00819.63
8.2.90.0050.00319.23
8.2.80.0080.00017.97
8.2.70.0090.00017.63
8.2.60.0030.00517.93
8.2.50.0020.00519.27
8.2.40.0000.00820.66
8.2.30.0060.00319.22
8.2.20.0040.00418.07
8.2.10.0050.00318.00
8.2.00.0000.00818.17
8.1.280.0090.00625.92
8.1.270.0070.00021.89
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0060.00320.99
8.1.230.0090.00319.21
8.1.220.0030.00617.76
8.1.210.0040.00418.77
8.1.200.0000.01017.35
8.1.190.0030.00617.53
8.1.180.0040.00418.10
8.1.170.0040.00418.64
8.1.160.0050.00218.85
8.1.150.0070.00020.01
8.1.140.0000.00719.63
8.1.130.0040.00418.83
8.1.120.0000.00717.52
8.1.110.0070.00017.46
8.1.100.0000.00817.36
8.1.90.0040.00417.37
8.1.80.0000.00817.47
8.1.70.0000.00717.40
8.1.60.0040.00417.57
8.1.50.0050.00317.53
8.1.40.0000.00817.45
8.1.30.0060.00317.29
8.1.20.0030.00617.55
8.1.10.0060.00317.58
8.1.00.0050.00317.40
8.0.300.0040.00420.16
8.0.290.0000.00816.63
8.0.280.0030.00318.31
8.0.270.0080.00017.22
8.0.260.0030.00316.94
8.0.250.0070.00016.94
8.0.240.0030.00616.94
8.0.230.0040.00416.91
8.0.220.0000.00716.79
8.0.210.0030.00316.85
8.0.200.0000.00617.03
8.0.190.0040.00416.91
8.0.180.0030.00316.94
8.0.170.0000.00816.89
8.0.160.0020.00516.88
8.0.150.0000.00816.90
8.0.140.0000.00716.96
8.0.130.0030.00313.39
8.0.120.0040.00416.91
8.0.110.0040.00416.91
8.0.100.0070.00017.07
8.0.90.0000.00716.77
8.0.80.0130.00616.88
8.0.70.0030.00516.85
8.0.60.0080.00016.96
8.0.50.0000.00716.83
8.0.30.0080.01017.24
8.0.20.0100.01217.40
8.0.10.0050.00217.11
8.0.00.0160.00316.76
7.4.330.0050.00015.55
7.4.320.0000.00616.53
7.4.300.0030.00316.42
7.4.290.0040.00416.49
7.4.280.0030.00616.51
7.4.270.0040.00416.64
7.4.260.0030.00313.27
7.4.250.0000.00716.47
7.4.240.0030.00516.63
7.4.230.0030.00416.64
7.4.220.0100.01016.47
7.4.210.0130.00616.55
7.4.200.0000.00716.41
7.4.160.0070.00816.65
7.4.150.0130.00617.40
7.4.140.0130.00917.86
7.4.130.0130.01016.55
7.4.120.0100.01216.58
7.4.110.0100.01316.66
7.4.100.0060.01116.51
7.4.90.0120.00616.36
7.4.80.0070.01819.39
7.4.70.0140.00316.50
7.4.60.0120.00816.60
7.4.50.0140.00316.60
7.4.40.0070.01516.55
7.4.30.0120.01216.68
7.4.00.0030.01415.16
7.3.330.0000.00713.25
7.3.320.0030.00313.27
7.3.310.0000.00716.20
7.3.300.0000.00716.35
7.3.290.0060.01116.30
7.3.280.0060.00816.27
7.3.270.0100.00717.40
7.3.260.0100.00716.38
7.3.250.0150.00816.34
7.3.240.0120.00616.39
7.3.230.0080.00816.35
7.3.210.0030.01316.39
7.3.200.0000.02016.59
7.3.190.0090.00616.60
7.3.180.0000.01616.59
7.3.170.0070.01316.39
7.3.160.0130.00916.41
7.3.10.0060.00316.63
7.3.00.0000.01516.84
7.2.330.0160.00016.57
7.2.320.0110.00716.66
7.2.310.0070.01016.41
7.2.300.0090.00916.67
7.2.290.0130.00416.71
7.2.130.0060.00816.72
7.2.120.0080.00816.89
7.2.110.0070.00716.82
7.2.100.0120.00316.90
7.2.90.0030.00616.85
7.2.80.0060.00616.82
7.2.70.0030.01216.77
7.2.60.0030.01016.91
7.2.50.0110.00216.80
7.2.40.0040.01116.63
7.2.30.0060.00616.88
7.2.20.0070.01116.82
7.2.10.0080.00816.77
7.2.00.0070.00717.87
7.1.250.0120.00015.56
7.1.200.0030.01015.54
7.1.70.0030.00517.10
7.1.60.0970.01733.27
7.1.50.0630.01732.95
7.1.40.0770.02032.58
7.1.30.0700.01732.62
7.1.20.0800.01032.70
7.1.10.0470.01314.70
7.1.00.0600.01014.79
7.0.200.0830.00714.67
7.0.190.0700.01014.77
7.0.180.0470.01714.40
7.0.170.0730.00714.30
7.0.160.0770.01014.54
7.0.150.0430.00714.41
7.0.140.0630.00714.47
7.0.130.0870.01314.66
7.0.120.0430.01314.49
7.0.110.0500.01014.39
7.0.100.0630.01314.36
7.0.90.0570.01714.37
7.0.80.0730.00714.34
7.0.70.0530.01014.33
7.0.60.0430.01314.26
7.0.50.0400.01314.48
7.0.40.0430.01014.72
7.0.30.0470.01014.61
7.0.20.0470.00714.35
7.0.10.0400.01014.39
7.0.00.0630.00314.66

preferences:
61.29 ms | 401 KiB | 5 Q