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.00618.43
8.3.50.0110.00317.84
8.3.40.0150.00018.92
8.3.30.0130.00718.70
8.3.20.0070.00019.01
8.3.10.0060.00919.16
8.3.00.0000.00723.45
8.2.180.0120.00316.50
8.2.170.0160.00322.96
8.2.160.0040.01120.52
8.2.150.0040.00424.18
8.2.140.0050.00224.66
8.2.130.0040.00419.64
8.2.120.0030.00526.35
8.2.110.0030.00621.90
8.2.100.0040.00817.91
8.2.90.0070.00317.50
8.2.80.0040.00418.95
8.2.70.0060.00317.93
8.2.60.0080.00018.04
8.2.50.0080.00018.10
8.2.40.0000.00719.53
8.2.30.0000.00819.50
8.2.20.0040.00418.00
8.2.10.0080.00019.79
8.2.00.0000.00719.42
8.1.280.0040.01125.92
8.1.270.0040.00422.20
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0000.00923.82
8.1.230.0040.00820.96
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0090.00017.25
8.1.190.0060.00317.35
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0040.00418.95
8.1.150.0040.00418.90
8.1.140.0040.00417.59
8.1.130.0030.00318.92
8.1.120.0000.00817.49
8.1.110.0040.00417.37
8.1.100.0040.00417.37
8.1.90.0000.00817.45
8.1.80.0070.00417.37
8.1.70.0040.00417.41
8.1.60.0070.00217.55
8.1.50.0040.00417.52
8.1.40.0050.00317.58
8.1.30.0030.00617.52
8.1.20.0070.00017.50
8.1.10.0040.00417.48
8.1.00.0000.00717.52
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.49
8.0.270.0000.00717.19
8.0.260.0000.00617.27
8.0.250.0030.00317.05
8.0.240.0070.00317.00
8.0.230.0040.00317.05
8.0.220.0030.00317.00
8.0.210.0040.00416.95
8.0.200.0070.00017.06
8.0.190.0040.00416.92
8.0.180.0040.00417.00
8.0.170.0000.00816.93
8.0.160.0070.00016.91
8.0.150.0050.00316.93
8.0.140.0000.00716.89
8.0.130.0040.00413.38
8.0.120.0000.00716.81
8.0.110.0000.00816.75
8.0.100.0030.00316.81
8.0.90.0040.00417.00
8.0.80.0130.00716.96
8.0.70.0000.00817.00
8.0.60.0000.00816.94
8.0.50.0040.00416.94
8.0.30.0080.00917.10
8.0.20.0080.01017.40
8.0.10.0040.00416.90
8.0.00.0140.00316.94
7.4.330.0000.00715.55
7.4.320.0000.00616.52
7.4.300.0060.00016.51
7.4.290.0040.00416.58
7.4.280.0050.00316.39
7.4.270.0000.00716.59
7.4.260.0030.00316.58
7.4.250.0030.00316.57
7.4.240.0040.00316.61
7.4.230.0030.00316.67
7.4.220.0040.00416.70
7.4.210.0070.00716.43
7.4.200.0070.00016.41
7.4.160.0100.00816.45
7.4.140.0160.01117.86
7.4.130.0100.00616.47
7.4.120.0110.00916.47
7.4.110.0060.01016.50
7.4.100.0070.01416.55
7.4.90.0040.01316.54
7.4.80.0120.00819.39
7.4.70.0060.01016.24
7.4.60.0090.00616.46
7.4.50.0000.01616.40
7.4.40.0100.00716.54
7.4.00.0040.01415.01
7.3.330.0000.00513.21
7.3.320.0030.00313.31
7.3.310.0040.00416.30
7.3.300.0040.00416.31
7.3.290.0050.00216.25
7.3.280.0100.00516.29
7.3.260.0070.01016.49
7.3.240.0100.00716.44
7.3.230.0100.00616.37
7.3.210.0090.00916.71
7.3.200.0080.00816.62
7.3.190.0070.01016.48
7.3.180.0120.00416.27
7.3.170.0070.01116.41
7.3.160.0060.00916.57
7.2.330.0100.01016.57
7.2.320.0110.01116.35
7.2.310.0080.01316.68
7.2.300.0030.01316.55
7.2.290.0170.00016.47
7.2.80.0000.01116.75
7.2.60.0170.01015.01
7.2.50.0170.01014.91
7.2.40.0110.01114.85
7.2.30.0220.00315.07
7.2.20.0140.00914.98
7.2.10.0300.00414.77
7.2.00.0190.00614.88
7.1.200.0060.00915.83
7.1.170.0230.00613.59
7.1.160.0200.00413.86
7.1.150.0160.00813.79
7.1.140.0250.00613.93
7.1.130.0120.00913.66
7.1.120.0140.01013.95
7.1.110.0200.00313.72
7.1.100.0160.00613.89
7.1.90.0160.01313.77
7.1.80.0200.00913.91
7.1.70.0170.00713.98
7.1.60.0390.00631.94
7.1.50.0290.01331.70
7.1.40.0560.00731.59
7.1.30.0450.01031.95
7.1.20.0260.01631.79
7.1.10.0190.00313.97
7.1.00.0170.00513.86

preferences:
54.66 ms | 401 KiB | 5 Q