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.0000.01518.43
8.3.50.0140.00018.04
8.3.40.0100.00618.80
8.3.30.0100.01018.86
8.3.20.0000.00719.15
8.3.10.0060.00319.34
8.3.00.0100.00323.54
8.2.180.0070.01116.63
8.2.170.0030.01422.96
8.2.160.0060.00820.38
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00319.70
8.2.120.0080.00326.35
8.2.110.0060.00322.00
8.2.100.0060.00617.84
8.2.90.0080.00019.08
8.2.80.0000.01017.97
8.2.70.0030.00517.91
8.2.60.0090.00018.04
8.2.50.0100.00018.10
8.2.40.0070.00019.48
8.2.30.0000.00819.31
8.2.20.0080.00017.94
8.2.10.0040.00419.72
8.2.00.0040.00419.54
8.1.280.0090.00625.92
8.1.270.0040.00422.16
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0070.00320.89
8.1.230.0110.00017.77
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0090.00017.23
8.1.180.0080.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00818.94
8.1.150.0000.00718.80
8.1.140.0000.00717.73
8.1.130.0070.00019.00
8.1.120.0000.00717.47
8.1.110.0070.00017.41
8.1.100.0000.00717.34
8.1.90.0040.00417.45
8.1.80.0090.00017.40
8.1.70.0040.00417.38
8.1.60.0000.00817.62
8.1.50.0030.00617.55
8.1.40.0030.00517.40
8.1.30.0080.00017.65
8.1.20.0030.00617.53
8.1.10.0000.00717.61
8.1.00.0000.00817.47
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0080.00018.43
8.0.270.0070.00017.30
8.0.260.0060.00017.25
8.0.250.0030.00316.98
8.0.240.0030.00316.88
8.0.230.0000.00716.98
8.0.220.0070.00016.90
8.0.210.0000.00717.01
8.0.200.0070.00016.91
8.0.190.0080.00016.92
8.0.180.0050.00216.95
8.0.170.0090.00016.95
8.0.160.0000.00716.94
8.0.150.0070.00016.84
8.0.140.0020.00516.93
8.0.130.0030.00313.36
8.0.120.0000.00716.81
8.0.110.0040.00416.88
8.0.100.0040.00416.97
8.0.90.0000.00716.89
8.0.80.0110.00516.92
8.0.70.0000.00717.01
8.0.60.0050.00416.90
8.0.50.0050.00316.82
8.0.30.0080.01117.14
8.0.20.0140.00817.40
8.0.10.0070.00017.00
8.0.00.0170.01416.88
7.4.330.0000.00415.55
7.4.320.0030.00316.51
7.4.300.0030.00316.48
7.4.290.0070.00016.59
7.4.280.0030.00616.57
7.4.270.0030.00716.39
7.4.260.0080.00016.45
7.4.250.0030.00316.53
7.4.240.0040.00416.51
7.4.230.0040.00416.69
7.4.220.0040.00416.60
7.4.210.0100.00516.59
7.4.200.0000.00716.66
7.4.160.0110.00516.55
7.4.140.0110.00717.86
7.4.130.0070.01016.62
7.4.120.0140.00516.50
7.4.110.0130.01016.61
7.4.100.0110.00616.49
7.4.90.0090.01316.61
7.4.80.0040.01319.39
7.4.70.0090.00916.39
7.4.60.0090.00616.60
7.4.50.0060.01216.49
7.4.40.0070.01016.55
7.4.00.0000.01515.14
7.3.330.0000.00513.32
7.3.320.0060.00013.08
7.3.310.0030.00316.30
7.3.300.0070.00016.30
7.3.290.0070.00016.16
7.3.280.0060.01316.34
7.3.260.0100.00816.46
7.3.240.0130.00616.56
7.3.230.0170.00016.53
7.3.210.0060.01916.59
7.3.200.0090.00916.59
7.3.190.0090.00916.38
7.3.180.0080.00816.51
7.3.170.0100.00716.40
7.3.160.0040.01116.52
7.2.330.0130.01016.75
7.2.320.0060.01316.80
7.2.310.0090.01616.48
7.2.300.0070.01016.74
7.2.290.0120.00416.45
7.2.110.0100.00316.68
7.2.80.0000.01116.68
7.2.60.0100.00916.93
7.2.50.0090.00616.41
7.2.40.0000.01416.95
7.2.30.0070.00717.04
7.2.20.0140.00016.70
7.2.10.0060.00916.89
7.2.00.0060.00916.73
7.1.200.0030.01015.83
7.1.170.0040.00815.89
7.1.160.0100.00315.59
7.1.150.0130.00015.64
7.1.140.0030.01015.49
7.1.130.0000.01615.77
7.1.120.0140.00015.74
7.1.110.0090.00315.86
7.1.100.0040.00815.84
7.1.90.0060.01015.81
7.1.80.0100.00715.66
7.1.70.0070.00715.83
7.1.60.0160.01633.71
7.1.50.0230.01033.72
7.1.40.0230.01933.79
7.1.30.0230.01033.64
7.1.20.0220.00933.61
7.1.10.0030.01015.71
7.1.00.0090.00315.70

preferences:
63.74 ms | 401 KiB | 5 Q