3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* class ClaseNoCargable { public function __toString(){ return "se pudo cargar la clase"; } } */ spl_autoload_register(function ($clase) { echo "Intentando cargar $clase...\n"; throw new Exception("[ERROR] Imposible cargar $clase ·_·"); }); try { $obj = new ClaseNoCargable(); echo $obj; } catch (Exception $e) { echo $e->getMessage(), "\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.60.0100.00718.43
8.3.50.0210.00018.19
8.3.40.0090.00618.68
8.3.30.0070.00718.66
8.3.20.0050.00319.14
8.3.10.0080.00019.20
8.3.00.0070.00023.65
8.2.180.0140.00716.88
8.2.170.0120.00622.96
8.2.160.0070.00720.38
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00719.82
8.2.120.0070.00026.35
8.2.110.0030.00622.00
8.2.100.0040.00817.91
8.2.90.0000.00917.88
8.2.80.0050.00318.86
8.2.70.0060.00318.05
8.2.60.0080.00017.93
8.2.50.0050.00318.10
8.2.40.0080.00019.34
8.2.30.0040.00419.38
8.2.20.0070.00018.04
8.2.10.0040.00419.77
8.2.00.0070.00019.32
8.1.280.0110.00425.92
8.1.270.0050.00222.07
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00324.02
8.1.230.0060.00620.92
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0080.00017.23
8.1.180.0080.00018.10
8.1.170.0060.00318.70
8.1.160.0050.00218.93
8.1.150.0070.00018.89
8.1.140.0070.00019.46
8.1.130.0000.00719.02
8.1.120.0040.00417.48
8.1.110.0070.00017.43
8.1.100.0050.00217.35
8.1.90.0040.00417.35
8.1.80.0030.00717.43
8.1.70.0070.00017.47
8.1.60.0100.00017.57
8.1.50.0040.00417.53
8.1.40.0020.00517.42
8.1.30.0040.00417.68
8.1.20.0000.00717.48
8.1.10.0040.00417.54
8.1.00.0030.00517.41
8.0.300.0040.00418.77
8.0.290.0000.00816.88
8.0.280.0040.00418.43
8.0.270.0080.00017.24
8.0.260.0030.00317.25
8.0.250.0070.00016.90
8.0.240.0030.00616.89
8.0.230.0000.00717.02
8.0.220.0030.00316.92
8.0.210.0080.00016.79
8.0.200.0030.00317.00
8.0.190.0080.00017.00
8.0.180.0000.00816.96
8.0.170.0050.00316.88
8.0.160.0000.00816.84
8.0.150.0070.00017.00
8.0.140.0070.00016.81
8.0.130.0030.00313.43
8.0.120.0070.00016.87
8.0.110.0000.00816.91
8.0.100.0030.00316.91
8.0.90.0040.00416.84
8.0.80.0120.00616.88
8.0.70.0040.00416.93
8.0.60.0040.00416.79
8.0.50.0040.00416.91
8.0.30.0130.00717.17
8.0.20.0060.01317.40
8.0.10.0070.00017.04
8.0.00.0060.01116.68
7.4.330.0000.00715.55
7.4.320.0030.00316.53
7.4.300.0060.00016.60
7.4.290.0030.00316.58
7.4.280.0040.00416.56
7.4.270.0060.00016.51
7.4.260.0000.00716.50
7.4.250.0070.00016.47
7.4.240.0030.00616.50
7.4.230.0070.00016.41
7.4.220.0000.00716.61
7.4.210.0090.00616.45
7.4.200.0070.00016.34
7.4.160.0080.00916.56
7.4.140.0110.01017.86
7.4.130.0140.00316.39
7.4.120.0120.00916.57
7.4.110.0100.00716.58
7.4.100.0120.00316.50
7.4.90.0130.00316.69
7.4.80.0150.01119.39
7.4.70.0110.00516.41
7.4.60.0030.01216.42
7.4.50.0100.00716.36
7.4.40.0120.00616.37
7.4.00.0060.01014.79
7.3.330.0050.00013.19
7.3.320.0060.00013.21
7.3.310.0030.00316.22
7.3.300.0030.00316.18
7.3.290.0000.00716.30
7.3.280.0140.00916.32
7.3.260.0090.00816.52
7.3.240.0110.00716.56
7.3.230.0170.00016.43
7.3.210.0110.00616.47
7.3.200.0130.00316.65
7.3.190.0140.00716.64
7.3.180.0080.00816.63
7.3.170.0070.01316.63
7.3.160.0060.00916.37
7.2.330.0110.00916.64
7.2.320.0170.01216.73
7.2.310.0060.01716.43
7.2.300.0100.00716.73
7.2.290.0090.01216.60
7.2.60.0210.00315.16
7.2.50.0180.00614.99
7.2.40.0150.01515.07
7.2.30.0150.01015.14
7.2.20.0160.01014.92
7.2.10.0200.01115.16
7.2.00.0200.00614.44
7.1.200.0040.00415.68
7.1.170.0150.01213.71
7.1.160.0130.01313.96
7.1.150.0210.00313.98
7.1.140.0170.01013.88
7.1.130.0210.00613.94
7.1.120.0250.00813.94
7.1.110.0180.00613.85
7.1.100.0170.01313.90
7.1.90.0200.00313.80
7.1.80.0140.00914.14
7.1.70.0210.01014.03
7.1.60.0370.01231.77
7.1.50.0390.00731.87
7.1.40.1000.00631.64
7.1.30.0460.00331.94
7.1.20.0400.01831.76
7.1.10.0290.00013.71
7.1.00.0340.01013.82

preferences:
55 ms | 400 KiB | 5 Q