3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { exit(new stdClass); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } echo "Passed the exit()";

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.4.120.0130.00720.63
8.4.110.0130.00820.43
8.4.100.0090.00820.38
8.4.90.0040.00518.86
8.4.80.0130.00718.60
8.4.70.0090.00718.00
8.4.60.0100.00518.82
8.4.50.0090.00618.56
8.4.40.0160.00317.86
8.4.30.0030.01618.83
8.4.20.0060.00319.59
8.4.10.0030.00619.52
8.3.250.0130.00519.05
8.3.240.0120.00716.56
8.3.230.0090.00316.64
8.3.220.0020.00518.81
8.3.210.0130.00516.54
8.3.200.0150.00616.45
8.3.190.0120.00616.84
8.3.180.0110.00717.05
8.3.170.0090.00920.56
8.3.160.0060.01216.94
8.3.150.0070.00717.13
8.3.140.0000.00818.69
8.3.130.0060.00316.48
8.3.120.0040.00418.74
8.3.110.0060.00320.94
8.3.100.0000.00824.06
8.3.90.0030.00526.77
8.3.80.0060.00316.63
8.3.70.0340.00917.09
8.3.60.0360.00617.57
8.3.50.0100.00717.74
8.3.40.0250.00917.57
8.3.30.0290.00617.49
8.3.20.0260.00717.48
8.3.10.0210.00717.45
8.3.00.0230.00917.49
8.2.290.0070.00420.31
8.2.280.0060.01018.45
8.2.270.0120.00617.14
8.2.260.0000.01517.21
8.2.250.0030.00618.38
8.2.240.0000.00818.86
8.2.230.0100.00022.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0040.00416.63
8.2.190.0100.00817.10
8.2.180.0260.00517.04
8.2.170.0220.00718.20
8.2.160.0280.00617.69
8.2.150.0370.00517.70
8.2.140.0320.00617.52
8.2.130.0310.00417.61
8.2.120.0290.00617.61
8.2.110.0320.00417.53
8.2.100.0280.00817.49
8.2.90.0300.00617.65
8.2.80.0270.00917.61
8.2.70.0300.01217.52
8.2.60.0220.00817.61
8.2.50.0230.01317.56
8.2.40.0310.00417.56
8.2.30.0230.01217.49
8.2.20.0270.00817.57
8.2.10.0250.00817.53
8.2.00.0270.01017.61
8.1.330.0040.00521.93
8.1.320.0140.00816.40
8.1.310.0180.00016.64
8.1.300.0060.00317.87
8.1.290.0090.00018.88
8.1.280.0260.00917.04
8.1.270.0300.00717.32
8.1.260.0250.01117.36
8.1.250.0200.01217.52
8.1.240.0240.00717.41
8.1.230.0230.00617.32
8.1.220.0300.00417.45
8.1.210.0260.00917.20
8.1.200.0260.00717.32
8.1.190.0230.01117.31
8.1.180.0200.00917.31
8.1.170.0240.00617.32
8.1.160.0250.00617.36
8.1.150.0220.01017.44
8.1.140.0300.00517.28
8.1.130.0220.00917.41
8.1.120.0220.00917.26
8.1.110.0240.00717.44
8.1.100.0200.00817.36
8.1.90.0230.01017.36
8.1.80.0220.00817.28
8.1.70.0200.01217.24
8.1.60.0290.00617.43
8.1.50.0300.00617.39
8.1.40.0300.00617.43
8.1.30.0270.00717.56
8.1.20.0230.01217.45
8.1.10.0330.00617.49
8.1.00.0320.00717.28

preferences:
51.5 ms | 403 KiB | 5 Q