3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ClaseNoCargable { public function __toString(){ echo "se pudo cargar la clase"; } } spl_autoload_register(function ($nombre) { echo "Intentando cargar $nombre.\n"; throw new Exception("Imposible cargar $nombre."); }); try { $obj = new ClaseNoCargable(); } 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.0170.00316.47
8.3.50.0140.00718.09
8.3.40.0080.00818.42
8.3.30.0070.00718.54
8.3.20.0040.00419.03
8.3.10.0040.00420.96
8.3.00.0080.00023.66
8.2.180.0070.01418.25
8.2.170.0110.00722.96
8.2.160.0110.00820.53
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0080.00026.16
8.2.120.0090.00020.49
8.2.110.0060.00320.87
8.2.100.0060.00617.79
8.2.90.0030.00619.22
8.2.80.0050.00317.97
8.2.70.0080.00017.77
8.2.60.0000.00817.80
8.2.50.0000.00818.10
8.2.40.0000.00919.43
8.2.30.0000.00719.49
8.2.20.0000.00818.16
8.2.10.0000.00718.13
8.2.00.0000.00719.36
8.1.280.0100.00725.92
8.1.270.0060.00322.20
8.1.260.0100.00026.35
8.1.250.0030.00528.09
8.1.240.0060.00323.98
8.1.230.0040.00717.70
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0080.00017.35
8.1.190.0030.00517.35
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0000.00719.00
8.1.150.0040.00418.88
8.1.140.0070.00017.75
8.1.130.0050.00318.94
8.1.120.0090.00017.39
8.1.110.0000.00817.44
8.1.100.0000.01117.45
8.1.90.0000.01017.38
8.1.80.0040.00417.42
8.1.70.0100.00017.44
8.1.60.0040.00417.61
8.1.50.0000.00817.56
8.1.40.0050.00317.43
8.1.30.0080.00317.71
8.1.20.0040.00417.75
8.1.10.0000.00817.42
8.1.00.0050.00317.34
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0070.00018.32
8.0.270.0070.00017.17
8.0.260.0000.00617.16
8.0.250.0040.00416.99
8.0.240.0040.00416.98
8.0.230.0040.00416.98
8.0.220.0060.00316.92
8.0.210.0000.00716.84
8.0.200.0000.00716.98
8.0.190.0000.00816.94
8.0.180.0040.00716.97
8.0.170.0080.00016.90
8.0.160.0030.00316.79
8.0.150.0030.00516.79
8.0.140.0000.00716.71
8.0.130.0040.00413.30
8.0.120.0070.00016.90
8.0.110.0040.00416.73
8.0.100.0040.00416.86
8.0.90.0080.00016.69
8.0.80.0080.00716.93
8.0.70.0040.00416.67
8.0.60.0000.00916.79
8.0.50.0000.00716.74
8.0.30.0090.00817.08
8.0.20.0110.00817.40
8.0.10.0000.00717.06
8.0.00.0080.01016.86
7.4.330.0000.00615.55
7.4.320.0040.00416.47
7.4.300.0030.00316.50
7.4.290.0030.00316.60
7.4.280.0100.00016.53
7.4.270.0040.00416.60
7.4.260.0000.00716.48
7.4.250.0000.00716.55
7.4.240.0070.00016.52
7.4.230.0040.00416.48
7.4.220.0000.00716.50
7.4.210.0080.00816.64
7.4.200.0000.00716.25
7.4.160.0040.01216.41
7.4.140.0140.00717.86
7.4.130.0030.01616.68
7.4.120.0100.00816.55
7.4.110.0030.01316.27
7.4.100.0110.00616.46
7.4.90.0110.01016.44
7.4.80.0000.02319.39
7.4.70.0090.01016.54
7.4.60.0070.01016.53
7.4.50.0110.00016.57
7.4.40.0160.00016.51
7.4.00.0100.00714.79
7.3.330.0050.00013.21
7.3.320.0000.00713.18
7.3.310.0030.00316.29
7.3.300.0040.00416.29
7.3.290.0070.00016.09
7.3.280.0090.00816.18
7.3.260.0080.01116.33
7.3.240.0090.01116.35
7.3.230.0120.00316.37
7.3.210.0100.00716.28
7.3.200.0180.00016.41
7.3.190.0130.00316.49
7.3.180.0100.00716.11
7.3.170.0160.00616.42
7.3.160.0120.00316.16
7.2.330.0100.00716.58
7.2.320.0030.01616.59
7.2.310.0260.01816.51
7.2.300.0110.00716.34
7.2.290.0030.01516.54
7.2.60.0110.00316.90
7.2.50.0040.01116.87
7.2.40.0060.00916.63
7.2.30.0060.00916.33
7.2.20.0090.00616.73
7.2.10.0030.01816.56
7.2.00.0030.01316.78
7.1.200.0090.00315.41
7.1.170.0030.01015.51
7.1.160.0090.00315.45
7.1.150.0080.00815.68
7.1.140.0030.01015.00
7.1.130.0050.00815.41
7.1.120.0100.00315.35
7.1.110.0090.00915.39
7.1.100.0000.01315.74
7.1.90.0090.00315.44
7.1.80.0040.00815.47
7.1.70.0090.00315.41
7.1.60.0240.01033.47
7.1.50.0200.01333.52
7.1.40.0210.01433.55
7.1.30.0300.00333.41
7.1.20.0290.01033.73
7.1.10.0100.00315.48
7.1.00.0080.00715.43

preferences:
72.34 ms | 401 KiB | 5 Q