3v4l.org

run code in 300+ PHP versions simultaneously
<?php $match = []; set_error_handler (function (){ var_dump("qwqew"); },E_NOTICE); try { $match[1]; } catch (\Exception $e) { echo 'Exception:' . $e->getMessage(); }

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.0150.00318.43
8.3.50.0110.00418.33
8.3.40.0060.00918.88
8.3.30.0090.00618.43
8.3.20.0000.00819.15
8.3.10.0050.00319.33
8.3.00.0000.00723.61
8.2.180.0090.00618.16
8.2.170.0140.00022.96
8.2.160.0080.00820.35
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00419.77
8.2.120.0000.00826.35
8.2.110.0120.00920.53
8.2.100.0060.00617.75
8.2.90.0020.00517.97
8.2.80.0060.00317.97
8.2.70.0000.00818.02
8.2.60.0030.00617.93
8.2.50.0030.00518.10
8.2.40.0040.00419.52
8.2.30.0040.00419.61
8.2.20.0000.00818.10
8.2.10.0040.00417.93
8.2.00.0040.00419.48
8.1.270.0080.00022.10
8.1.260.0090.00026.35
8.1.250.0080.00028.09
8.1.240.0040.00420.86
8.1.230.0040.00722.77
8.1.220.0050.00317.74
8.1.210.0000.00819.04
8.1.200.0080.00017.35
8.1.190.0030.00617.13
8.1.180.0000.00718.10
8.1.170.0030.00518.64
8.1.160.0070.00018.93
8.1.150.0040.00418.80
8.1.140.0040.00417.61
8.1.130.0000.00718.96
8.1.120.0040.00317.45
8.1.110.0040.00417.45
8.1.100.0000.01117.46
8.1.90.0030.00517.38
8.1.80.0040.00417.45
8.1.70.0080.00317.47
8.1.60.0060.00317.57
8.1.50.0030.00617.53
8.1.40.0000.00817.53
8.1.30.0000.00817.61
8.1.20.0020.00517.52
8.1.10.0000.00817.51
8.1.00.0020.00517.41
8.0.300.0040.00419.82
8.0.290.0080.00016.75
8.0.280.0070.00018.30
8.0.270.0000.00717.13
8.0.260.0040.00417.22
8.0.250.0030.00316.83
8.0.240.0000.00817.00
8.0.230.0000.00716.92
8.0.220.0000.00816.89
8.0.210.0000.00716.86
8.0.200.0050.00516.93
8.0.190.0040.00416.91
8.0.180.0040.00416.86
8.0.170.0040.00416.93
8.0.160.0040.00416.87
8.0.150.0040.00416.84
8.0.140.0000.00816.91
8.0.130.0030.00313.34
8.0.120.0070.00017.00
8.0.110.0040.00416.87
8.0.100.0040.00416.89
8.0.90.0000.00716.91
8.0.80.0080.01116.89
8.0.70.0040.00416.89
8.0.60.0000.00716.85
8.0.50.0000.00716.92
8.0.30.0090.01017.05
8.0.20.0090.00917.40
8.0.10.0040.00417.04
8.0.00.0080.01016.84
7.4.330.0050.00015.55
7.4.320.0030.00316.53
7.4.300.0060.00016.52
7.4.290.0030.00316.45
7.4.280.0090.00016.63
7.4.270.0100.00016.66
7.4.260.0030.00316.48
7.4.250.0000.00716.57
7.4.240.0000.00716.64
7.4.230.0030.00316.49
7.4.220.0000.00916.61
7.4.210.0130.00516.66
7.4.200.0000.00716.65
7.4.160.0050.01216.45
7.4.140.0090.01117.86
7.4.130.0100.00716.52
7.4.120.0100.01016.54
7.4.110.0100.00716.48
7.4.100.0160.00616.54
7.4.90.0140.00316.49
7.4.80.0090.00919.39
7.4.70.0100.00616.40
7.4.60.0040.01116.53
7.4.50.0040.00816.48
7.4.40.0070.00916.55
7.4.00.0080.00915.12
7.3.330.0000.00513.19
7.3.320.0050.00013.29
7.3.310.0000.00716.23
7.3.300.0070.00016.23
7.3.290.0030.00316.32
7.3.280.0090.00716.25
7.3.260.0120.00716.39
7.3.240.0110.00916.45
7.3.230.0100.01316.53
7.3.210.0090.00916.41
7.3.200.0140.00316.42
7.3.190.0090.00616.43
7.3.180.0060.01216.32
7.3.170.0120.00616.66
7.3.160.0000.01816.43
7.3.120.0060.01314.70
7.3.110.0170.00014.70
7.3.100.0100.00314.96
7.3.90.0090.00914.65
7.3.80.0000.01414.85
7.3.70.0000.01814.70
7.3.60.0040.01114.35
7.3.50.0130.00614.32
7.3.40.0030.01314.52
7.3.30.0040.00714.66
7.3.20.0100.00316.48
7.3.10.0040.01116.55
7.3.00.0000.01216.60
7.2.330.0180.00616.61
7.2.320.0130.00316.50
7.2.310.0120.00616.36
7.2.300.0070.01016.42
7.2.290.0090.01516.52
7.2.250.0070.01115.04
7.2.240.0090.00915.00
7.2.230.0100.01015.02
7.2.220.0040.01415.03
7.2.210.0090.00614.74
7.2.200.0070.01014.98
7.2.190.0040.00815.13
7.2.180.0030.01314.98
7.2.170.0090.01014.71
7.2.60.0070.00716.91
7.2.50.0110.00316.98
7.2.40.0080.01116.81
7.2.30.0030.01016.50
7.2.20.0060.00716.70
7.2.10.0060.00916.45
7.2.00.0120.00316.47
7.1.330.0140.00015.38
7.1.320.0070.01015.80
7.1.310.0070.01015.63
7.1.300.0080.00815.63
7.1.290.0000.01715.33
7.1.280.0080.00615.81
7.1.270.0000.01415.66
7.1.260.0060.00615.59
7.1.200.0030.00915.86
7.1.170.0130.00715.64
7.1.160.0030.00915.61
7.1.150.0040.00815.91
7.1.140.0060.00615.71
7.1.130.0070.00715.39
7.1.120.0090.00315.63
7.1.110.0070.00715.61
7.1.100.0100.00315.70
7.1.90.0140.00713.92
7.1.80.0000.01315.52
7.1.70.0110.00913.96
7.1.60.0310.01131.63
7.1.50.0260.01231.83
7.1.40.0340.01133.43
7.1.30.1390.01031.43
7.1.20.0300.01331.65
7.1.10.0070.00715.46
7.1.00.0070.00715.48

preferences:
62.21 ms | 400 KiB | 5 Q