3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $x = new NonexistantClass(); } catch (Error $e) { var_dump($e->getMessage()); } echo "Don't worry, everything is still fine!\n";

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.40.0040.01118.84
8.3.30.0040.01118.51
8.3.20.0000.00720.08
8.3.10.0000.00823.65
8.3.00.0040.00423.48
8.2.170.0070.00722.96
8.2.160.0070.01420.57
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00419.83
8.2.120.0040.00426.35
8.2.110.0060.00319.39
8.2.100.0040.00817.84
8.2.90.0000.00819.21
8.2.80.0030.00517.97
8.2.70.0040.00417.63
8.2.60.0040.00418.05
8.2.50.0000.00818.10
8.2.40.0030.00522.19
8.2.30.0040.00419.41
8.2.20.0040.00417.68
8.2.10.0040.00417.90
8.2.00.0040.00417.89
8.1.270.0090.00923.96
8.1.260.0080.00028.09
8.1.250.0050.00228.09
8.1.240.0000.00922.19
8.1.230.0070.00417.57
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0080.00017.23
8.1.180.0000.00918.10
8.1.170.0050.00318.49
8.1.160.0050.00220.68
8.1.150.0050.00218.88
8.1.140.0030.00619.61
8.1.130.0070.00017.57
8.1.120.0050.00217.41
8.1.110.0080.00017.42
8.1.100.0040.00417.29
8.1.90.0000.00817.27
8.1.80.0080.00017.31
8.1.70.0030.00317.29
8.1.60.0040.00417.52
8.1.50.0030.00617.45
8.1.40.0080.00017.47
8.1.30.0040.00417.65
8.1.20.0030.00517.65
8.1.10.0040.00417.46
8.1.00.0000.00717.54
8.0.300.0030.00618.77
8.0.290.0000.00716.75
8.0.280.0000.00718.36
8.0.270.0000.00717.25
8.0.260.0000.00617.14
8.0.250.0020.00516.85
8.0.240.0000.00716.83
8.0.230.0000.00716.98
8.0.220.0000.00716.85
8.0.210.0000.00716.91
8.0.200.0000.00816.94
8.0.190.0040.00416.98
8.0.180.0050.00316.89
8.0.170.0060.00316.80
8.0.160.0090.00016.93
8.0.150.0040.00416.70
8.0.140.0020.00516.82
8.0.130.0000.00513.35
8.0.120.0000.00816.79
8.0.110.0040.00416.78
8.0.100.0030.00616.87
8.0.90.0000.00816.91
8.0.80.0030.02016.91
8.0.70.0050.00216.68
8.0.60.0000.00716.86
8.0.50.0040.00416.84
8.0.30.0040.01417.01
8.0.20.0110.00717.40
8.0.10.0040.00416.96
8.0.00.0090.01316.78
7.4.330.0030.00316.76
7.4.320.0070.00016.43
7.4.300.0050.00316.51
7.4.290.0000.00716.59
7.4.280.0030.00616.50
7.4.270.0030.00316.51
7.4.260.0030.00316.46
7.4.250.0050.00316.44
7.4.240.0040.00316.53
7.4.230.0030.00316.34
7.4.220.0090.00916.54
7.4.210.0070.00916.45
7.4.200.0030.00316.65
7.4.160.0090.00616.41
7.4.150.0060.01217.40
7.4.140.0100.01317.86
7.4.130.0140.00916.56
7.4.120.0100.01016.53
7.4.110.0110.00716.39
7.4.100.0100.01316.27
7.4.90.0090.00916.62
7.4.80.0090.00919.39
7.4.70.0060.01216.51
7.4.60.0090.00916.35
7.4.50.0090.00616.46
7.4.40.0060.01016.56
7.4.30.0090.00916.55
7.4.00.0050.01114.99
7.3.330.0020.00212.99
7.3.320.0000.00813.24
7.3.310.0050.00316.24
7.3.300.0000.00716.28
7.3.290.0030.00316.27
7.3.280.0050.01116.29
7.3.270.0080.01117.40
7.3.260.0070.01016.42
7.3.250.0110.00716.34
7.3.240.0110.00616.33
7.3.230.0090.00916.39
7.3.210.0090.00816.34
7.3.200.0130.00519.39
7.3.190.0100.00716.38
7.3.180.0130.00316.17
7.3.170.0090.00916.38
7.3.160.0060.01316.40
7.3.120.0060.01215.01
7.3.110.0100.00714.82
7.3.100.0060.00914.59
7.3.90.0000.01114.82
7.3.80.0030.00714.75
7.3.70.0120.00314.53
7.3.60.0000.01414.88
7.3.50.0000.01314.80
7.3.40.0000.00814.88
7.3.30.0070.00714.88
7.3.20.0110.00716.81
7.3.10.0050.00516.62
7.3.00.0040.01416.22
7.2.330.0100.00716.68
7.2.320.0180.00316.67
7.2.310.0070.01416.27
7.2.300.0080.00916.54
7.2.290.0080.00816.77
7.2.250.0130.00614.59
7.2.240.0070.01414.81
7.2.230.0030.01215.19
7.2.220.0030.00715.18
7.2.210.0070.00714.82
7.2.200.0070.01115.12
7.2.190.0060.00615.13
7.2.180.0000.01314.91
7.2.170.0030.01014.75
7.2.60.0030.01316.77
7.2.00.0070.00718.80
7.1.330.0090.00615.75
7.1.320.0040.00415.93
7.1.310.0110.00415.63
7.1.300.0030.00715.80
7.1.290.0040.01115.72
7.1.280.0000.01015.72
7.1.270.0030.00815.63
7.1.260.0030.01015.50
7.1.200.0040.00815.71
7.1.100.0030.01218.13
7.1.70.0000.00717.22
7.1.60.0040.02119.18
7.1.50.0040.01816.57
7.1.00.0000.07722.42
7.0.200.0030.00616.53
7.0.60.0270.06019.97
7.0.50.0100.03317.89
7.0.40.0130.07320.27
7.0.30.0270.06320.13
7.0.20.0170.07320.33
7.0.10.0070.05020.04
7.0.00.0030.04320.00
5.6.280.0030.03020.77
5.6.210.0130.08020.61
5.6.200.0070.04718.21
5.6.190.0070.06020.56
5.6.180.0370.06020.75
5.6.170.0230.03320.54
5.6.160.0070.07020.52
5.6.150.0100.07018.11
5.6.140.0100.07718.08
5.6.130.0100.05718.21
5.6.120.0030.07721.13
5.6.110.0070.08320.89
5.6.100.0330.06321.02
5.6.90.0130.07720.96
5.6.80.0000.04020.53
5.5.350.0300.03320.49
5.5.340.0170.05318.02
5.5.330.0030.05320.40
5.5.320.0170.08020.29
5.5.310.0470.06320.27
5.5.300.0100.07317.98
5.5.290.0070.06017.95
5.5.280.0070.03720.79
5.5.270.0030.07320.83
5.5.260.0100.08320.73
5.5.250.0130.07720.46
5.5.240.0230.05020.18

preferences:
46.54 ms | 400 KiB | 5 Q