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.01018.68
8.3.50.0100.00317.97
8.3.40.0100.00618.88
8.3.30.0120.00318.70
8.3.20.0040.00418.98
8.3.10.0040.00419.39
8.3.00.0040.00423.61
8.2.180.0120.00616.88
8.2.170.0040.01122.96
8.2.160.0100.00320.55
8.2.150.0030.00624.18
8.2.140.0050.00324.66
8.2.130.0020.00519.83
8.2.120.0050.00326.35
8.2.110.0030.00722.02
8.2.100.0060.00619.45
8.2.90.0060.00317.75
8.2.80.0030.00618.73
8.2.70.0000.00917.80
8.2.60.0000.00917.93
8.2.50.0000.00918.10
8.2.40.0030.00519.26
8.2.30.0000.00719.39
8.2.20.0000.00718.00
8.2.10.0020.00519.75
8.2.00.0050.00219.43
8.1.280.0130.00625.92
8.1.270.0060.00322.01
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00320.75
8.1.230.0040.00720.91
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0030.00518.66
8.1.160.0040.00418.82
8.1.150.0040.00418.85
8.1.140.0040.00417.77
8.1.130.0030.00319.03
8.1.120.0050.00217.53
8.1.110.0030.00517.45
8.1.100.0070.00017.46
8.1.90.0000.00717.45
8.1.80.0100.00017.47
8.1.70.0070.00017.44
8.1.60.0080.00317.51
8.1.50.0000.00817.41
8.1.40.0040.00417.48
8.1.30.0040.00417.62
8.1.20.0050.00217.66
8.1.10.0030.00517.61
8.1.00.0000.00817.51
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0030.00318.38
8.0.270.0030.00317.11
8.0.260.0000.00617.24
8.0.250.0070.00017.01
8.0.240.0070.00316.98
8.0.230.0080.00016.90
8.0.220.0030.00316.97
8.0.210.0040.00416.93
8.0.200.0030.00316.98
8.0.190.0050.00316.88
8.0.180.0050.00316.89
8.0.170.0000.00816.90
8.0.160.0030.00317.01
8.0.150.0000.00716.90
8.0.140.0070.00016.97
8.0.130.0040.00413.28
8.0.120.0030.00316.82
8.0.110.0000.00716.84
8.0.100.0050.00216.92
8.0.90.0050.00316.77
8.0.80.0070.01216.93
8.0.70.0000.00816.96
8.0.60.0000.00717.02
8.0.50.0070.00016.96
8.0.30.0080.00917.17
8.0.20.0100.01217.40
8.0.10.0040.00416.87
8.0.00.0090.00916.87
7.4.330.0060.00015.55
7.4.320.0030.00316.49
7.4.300.0040.00416.59
7.4.290.0000.00616.44
7.4.280.0070.00016.49
7.4.270.0060.00316.50
7.4.260.0070.00016.41
7.4.250.0030.00316.55
7.4.240.0040.00316.51
7.4.230.0000.00716.71
7.4.220.0040.00416.39
7.4.210.0080.00716.51
7.4.200.0000.00716.58
7.4.160.0080.00816.58
7.4.140.0080.01017.86
7.4.130.0100.00716.56
7.4.120.0100.00916.44
7.4.110.0100.00616.29
7.4.100.0060.00916.56
7.4.90.0030.01316.29
7.4.80.0130.01019.39
7.4.70.0100.00616.52
7.4.60.0080.00816.49
7.4.50.0090.00916.49
7.4.40.0120.00816.35
7.4.00.0090.00914.90
7.3.330.0000.00513.19
7.3.320.0000.00613.21
7.3.310.0070.00016.38
7.3.300.0000.00716.42
7.3.290.0070.00016.40
7.3.280.0080.00816.30
7.3.260.0100.00816.51
7.3.240.0110.00816.49
7.3.230.0100.01016.35
7.3.210.0210.00616.43
7.3.200.0140.00716.53
7.3.190.0130.00316.36
7.3.180.0070.01016.34
7.3.170.0100.00716.41
7.3.160.0090.00616.61
7.2.330.0120.00616.48
7.2.320.0150.00316.73
7.2.310.0060.01316.38
7.2.300.0030.01316.68
7.2.290.0180.00016.55
7.2.60.0170.00815.08
7.2.50.0130.01115.07
7.2.40.0170.00914.90
7.2.30.0220.00514.89
7.2.20.0160.00914.89
7.2.10.0620.00515.04
7.2.00.0110.00914.72
7.1.200.0030.00915.84
7.1.170.0150.00813.86
7.1.160.0150.00813.83
7.1.150.0140.00913.76
7.1.140.0190.00713.85
7.1.130.0250.00513.97
7.1.120.0820.00213.85
7.1.110.0170.00314.02
7.1.100.0200.00513.95
7.1.90.0160.00613.96
7.1.80.0210.00513.99
7.1.70.0210.00414.03
7.1.60.0340.01131.82
7.1.50.0360.00931.65
7.1.40.0350.01331.68
7.1.30.0390.00831.88
7.1.20.0320.01231.87
7.1.10.0210.00213.74
7.1.00.0170.00613.75

preferences:
32.91 ms | 400 KiB | 5 Q