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("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.0070.01018.31
8.3.50.0040.01117.83
8.3.40.0060.00918.63
8.3.30.0080.00818.59
8.3.20.0040.00419.15
8.3.10.0080.00020.84
8.3.00.0040.00423.70
8.2.180.0070.00716.59
8.2.170.0070.00722.96
8.2.160.0150.00420.35
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00019.64
8.2.120.0070.00026.35
8.2.110.0040.00419.39
8.2.100.0040.00718.03
8.2.90.0000.00719.11
8.2.80.0080.00017.97
8.2.70.0000.00917.90
8.2.60.0040.00417.78
8.2.50.0000.00818.10
8.2.40.0000.00719.42
8.2.30.0000.00719.50
8.2.20.0000.00717.99
8.2.10.0000.00718.07
8.2.00.0030.00519.35
8.1.280.0090.00625.92
8.1.270.0060.00323.99
8.1.260.0060.00326.35
8.1.250.0050.00328.09
8.1.240.0030.00622.81
8.1.230.0040.00717.76
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00718.81
8.1.150.0000.00718.89
8.1.140.0000.00717.73
8.1.130.0040.00418.96
8.1.120.0040.00417.50
8.1.110.0000.00717.47
8.1.100.0000.00717.39
8.1.90.0000.00717.48
8.1.80.0050.00317.36
8.1.70.0040.00417.37
8.1.60.0000.00817.55
8.1.50.0000.00717.50
8.1.40.0030.00617.52
8.1.30.0000.00717.63
8.1.20.0040.00417.66
8.1.10.0040.00417.48
8.1.00.0040.00417.46
8.0.300.0040.00418.77
8.0.290.0000.01016.63
8.0.280.0030.00318.34
8.0.270.0030.00317.25
8.0.260.0000.00717.12
8.0.250.0000.00716.91
8.0.240.0040.00416.90
8.0.230.0030.00516.86
8.0.220.0000.00716.91
8.0.210.0000.00716.84
8.0.200.0070.00016.99
8.0.190.0040.00416.90
8.0.180.0090.00016.89
8.0.170.0060.00316.96
8.0.160.0000.00816.95
8.0.150.0040.00416.84
8.0.140.0040.00416.80
8.0.130.0060.00013.45
8.0.120.0000.00716.81
8.0.110.0050.00217.00
8.0.100.0000.00816.80
8.0.90.0000.00716.94
8.0.80.0030.01316.95
8.0.70.0000.00816.81
8.0.60.0080.00017.01
8.0.50.0000.00716.74
8.0.30.0080.00916.90
8.0.20.0030.01517.40
8.0.10.0000.00717.13
8.0.00.0100.00816.49
7.4.330.0020.00215.55
7.4.320.0000.00716.50
7.4.300.0000.00616.52
7.4.290.0040.00416.58
7.4.280.0040.00416.61
7.4.270.0000.00916.35
7.4.260.0070.00016.55
7.4.250.0000.00716.55
7.4.240.0000.00816.47
7.4.230.0050.00216.34
7.4.220.0040.00416.57
7.4.210.0060.01016.59
7.4.200.0000.00816.70
7.4.160.0090.00616.56
7.4.140.0110.00917.86
7.4.130.0090.00816.66
7.4.120.0140.00616.58
7.4.110.0070.01016.49
7.4.100.0090.00816.34
7.4.90.0040.01216.54
7.4.80.0060.01319.39
7.4.70.0150.00316.73
7.4.60.0070.01016.50
7.4.50.0060.00516.20
7.4.40.0030.01316.52
7.4.00.0060.00615.08
7.3.330.0050.00013.36
7.3.320.0030.00313.36
7.3.310.0040.00416.43
7.3.300.0040.00416.32
7.3.290.0030.00316.38
7.3.280.0110.00516.27
7.3.260.0100.00816.44
7.3.240.0090.00816.42
7.3.230.0030.01316.42
7.3.210.0040.01516.48
7.3.200.0080.00816.61
7.3.190.0100.00616.27
7.3.180.0070.01116.43
7.3.170.0150.00616.54
7.3.160.0120.00416.43
7.3.10.0000.01316.59
7.3.00.0080.00316.60
7.2.330.0150.00416.46
7.2.320.0170.00016.68
7.2.310.0100.01316.57
7.2.300.0060.01016.39
7.2.290.0060.00916.68
7.2.130.0040.00716.89
7.2.120.0000.01316.94
7.2.110.0090.00516.65
7.2.100.0060.00616.70
7.2.90.0000.01417.03
7.2.80.0070.00616.81
7.2.70.0030.00916.80
7.2.60.0090.00516.94
7.2.50.0050.00716.82
7.2.40.0090.00816.74
7.2.30.0060.00816.88
7.2.20.0060.00716.83
7.2.10.0050.01116.74
7.2.00.0080.01116.86
7.1.250.0070.00315.69
7.1.200.0030.00915.76
7.1.170.0190.00514.03
7.1.160.0210.00615.72
7.1.150.0210.00313.76
7.1.140.0090.00415.77
7.1.130.0070.00715.70
7.1.120.0050.00815.52
7.1.110.0200.00315.43
7.1.100.0130.00015.50
7.1.90.0030.01015.53
7.1.80.0060.00715.76
7.1.70.0070.00715.84
7.1.60.0200.01333.44
7.1.50.0230.01033.70
7.1.40.0240.01033.82
7.1.30.0320.01633.68
7.1.20.0240.01333.59
7.1.10.0080.00815.78
7.1.00.0120.00615.81

preferences:
42.97 ms | 400 KiB | 5 Q