3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $a = NULL; $a->test(); } catch (BadMethodCallException $e) { echo $e->getMessage(); } catch (EngineException $e) { echo $e->getMessage(); } catch (Error $e) { echo $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.0070.00716.49
8.3.50.0040.01118.14
8.3.40.0090.00618.79
8.3.30.0150.00618.67
8.3.20.0150.00320.01
8.3.10.0070.01123.52
8.3.00.0090.00919.19
8.2.180.0030.01316.63
8.2.170.0070.00722.96
8.2.160.0160.00320.33
8.2.150.0060.00324.18
8.2.140.0140.00424.66
8.2.130.0050.00317.75
8.2.120.0000.00826.35
8.2.110.0060.00322.26
8.2.100.0040.00817.72
8.2.90.0050.00219.09
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00817.79
8.2.50.0030.00618.07
8.2.40.0040.00419.34
8.2.30.0000.00720.61
8.2.20.0030.00517.65
8.2.10.0000.00718.10
8.2.00.0040.00418.08
8.1.280.0110.01125.92
8.1.270.0040.00423.84
8.1.260.0050.00328.09
8.1.250.0140.00328.09
8.1.240.0030.00622.20
8.1.230.0080.00422.07
8.1.220.0030.00517.78
8.1.210.0090.00018.77
8.1.200.0030.00617.36
8.1.190.0040.00418.77
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0000.00721.98
8.1.150.0040.00418.74
8.1.140.0060.00319.38
8.1.130.0030.00317.51
8.1.120.0040.00417.45
8.1.110.0050.00317.44
8.1.100.0030.00517.38
8.1.90.0040.00417.41
8.1.80.0000.00817.35
8.1.70.0000.00717.45
8.1.60.0050.00317.53
8.1.50.0000.00817.56
8.1.40.0040.00417.42
8.1.30.0000.00817.68
8.1.20.0000.00817.58
8.1.10.0040.00417.62
8.1.00.0040.00417.52
8.0.300.0050.00218.77
8.0.290.0040.00416.88
8.0.280.0070.00018.36
8.0.270.0080.00017.25
8.0.260.0030.00317.26
8.0.250.0070.00017.03
8.0.240.0040.00416.90
8.0.230.0070.00016.85
8.0.220.0070.00016.86
8.0.210.0030.00716.76
8.0.200.0000.00817.01
8.0.190.0000.00816.94
8.0.180.0080.00016.92
8.0.170.0040.00416.87
8.0.160.0000.00716.96
8.0.150.0060.00316.75
8.0.140.0000.00816.84
8.0.130.0000.00613.31
8.0.120.0050.00316.91
8.0.110.0030.00316.87
8.0.100.0070.00016.88
8.0.90.0030.00316.72
8.0.80.0040.01116.84
8.0.70.0080.00016.96
8.0.60.0000.00716.84
8.0.50.0000.00716.80
8.0.30.0130.00817.00
8.0.20.0080.01117.40
8.0.10.0040.00416.98
8.0.00.0110.00816.70
7.4.330.0020.00216.69
7.4.320.0070.00016.57
7.4.300.0060.00016.45
7.4.290.0080.00016.56
7.4.280.0050.00216.42
7.4.270.0000.00616.46
7.4.260.0070.00016.46
7.4.250.0000.00716.36
7.4.240.0040.00316.59
7.4.230.0030.00316.58
7.4.220.0090.00916.63
7.4.210.0140.00316.56
7.4.200.0030.00316.50
7.4.160.0060.00916.38
7.4.150.0170.00017.40
7.4.140.0120.00717.86
7.4.130.0100.00916.76
7.4.120.0120.01216.61
7.4.110.0110.00816.47
7.4.100.0030.01516.57
7.4.90.0070.01016.48
7.4.80.0140.00419.39
7.4.70.0120.00916.62
7.4.60.0100.00716.48
7.4.50.0080.00816.46
7.4.40.0160.00416.54
7.4.30.0070.01016.52
7.4.00.0040.00714.83
7.3.330.0000.00813.07
7.3.320.0060.00013.07
7.3.310.0000.00816.33
7.3.300.0040.00416.22
7.3.290.0050.01116.26
7.3.280.0050.01116.32
7.3.270.0140.00417.40
7.3.260.0130.00616.41
7.3.250.0070.01216.38
7.3.240.0080.01116.53
7.3.230.0110.00816.48
7.3.210.0090.00916.32
7.3.200.0060.01516.29
7.3.190.0100.00716.24
7.3.180.0140.00316.42
7.3.170.0180.00316.45
7.3.160.0090.00616.26
7.2.330.0120.00516.53
7.2.320.0090.00916.63
7.2.310.0100.00616.45
7.2.300.0100.00716.32
7.2.290.0090.00916.73
7.2.60.0110.00716.29
7.2.00.0200.01019.06
7.1.200.0060.00715.57
7.1.100.0030.01018.14
7.1.70.0040.01116.89
7.1.60.0070.01719.36
7.1.50.0140.01116.83
7.1.00.0100.07022.46
7.0.200.0000.00716.86
7.0.60.0130.07719.93
7.0.50.0100.03717.78
7.0.40.0100.08719.97
7.0.30.0300.08320.24
7.0.20.0230.07320.21
7.0.10.0130.08320.17
7.0.00.0100.07320.01
5.6.280.0030.05020.78
5.6.210.0000.05720.52
5.6.200.0130.07318.18
5.6.190.0100.08320.41
5.6.180.0170.04320.60
5.6.170.0300.07720.41
5.6.160.0100.07720.54
5.6.150.0070.03718.12
5.6.140.0100.06718.11
5.6.130.0000.04318.20
5.6.120.0030.05321.11
5.6.110.0130.07020.98
5.6.100.0170.07021.04
5.6.90.0030.04721.01
5.6.80.0070.07720.28
5.5.350.0130.08320.39
5.5.340.0000.08718.02
5.5.330.0100.05320.14
5.5.320.0000.04720.51
5.5.310.0300.04720.29
5.5.300.0030.04317.92
5.5.290.0070.05718.02
5.5.280.0000.07720.64
5.5.270.0070.05720.84
5.5.260.0100.07720.65
5.5.250.0170.08020.68
5.5.240.0270.07020.23

preferences:
43.87 ms | 400 KiB | 5 Q