3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static function run() { $o = new Test('o'); throw new Exception('destroyer ?'); } public static function shutdown() { echo 'fin script'."\n"; } public function __construct(){ echo 'constructeur'."\n"; } public function __destruct(){ echo 'destructeur'."\n"; } } register_shutdown_function(array('Test','shutdown')); try{ Test::run(); } catch(Exception $e) { print_r($e->getStackTrace()); }

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.40.0110.00419.02
8.3.30.0000.01418.55
8.3.20.0040.00420.18
8.3.10.0080.00023.66
8.3.00.0040.00419.25
8.2.170.0090.00622.96
8.2.160.0070.00722.12
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0050.00317.63
8.2.120.0040.00426.35
8.2.110.0060.00320.94
8.2.100.0080.00417.93
8.2.90.0000.00819.21
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0060.00318.04
8.2.50.0030.00618.07
8.2.40.0060.00319.33
8.2.30.0000.00720.66
8.2.20.0050.00317.74
8.2.10.0040.00418.06
8.2.00.0000.00718.09
8.1.270.0080.00023.96
8.1.260.0000.00728.09
8.1.250.0050.00328.09
8.1.240.0030.00622.19
8.1.230.0000.01217.66
8.1.220.0000.00817.75
8.1.210.0030.00618.77
8.1.200.0030.00617.36
8.1.190.0040.00417.36
8.1.180.0030.00518.10
8.1.170.0060.00320.50
8.1.160.0020.00522.01
8.1.150.0070.00018.91
8.1.140.0040.00419.62
8.1.130.0000.00817.61
8.1.120.0040.00417.50
8.1.110.0040.00317.29
8.1.100.0040.00417.41
8.1.90.0030.00317.38
8.1.80.0040.00417.34
8.1.70.0070.00017.27
8.1.60.0080.00017.59
8.1.50.0090.00017.59
8.1.40.0000.00717.44
8.1.30.0040.00417.58
8.1.20.0020.00517.59
8.1.10.0030.00517.43
8.1.00.0000.00817.51
8.0.300.0050.00318.77
8.0.290.0000.00716.88
8.0.280.0070.00018.45
8.0.270.0070.00017.25
8.0.260.0030.00317.25
8.0.250.0000.00616.95
8.0.240.0060.00316.93
8.0.230.0040.00416.91
8.0.220.0040.00416.87
8.0.210.0030.00316.89
8.0.200.0030.00316.97
8.0.190.0000.00716.94
8.0.180.0050.00216.95
8.0.170.0060.00316.85
8.0.160.0030.00316.90
8.0.150.0000.00716.93
8.0.140.0040.00316.89
8.0.130.0040.00413.40
8.0.120.0060.00316.81
8.0.110.0000.00716.86
8.0.100.0040.00416.98
8.0.90.0000.00816.78
8.0.80.0120.00316.89
8.0.70.0000.00916.96
8.0.60.0030.00516.93
8.0.50.0050.00316.85
8.0.30.0110.00817.19
8.0.20.0090.01217.40
8.0.10.0040.00416.98
8.0.00.0090.01216.82
7.4.330.0000.00516.72
7.4.320.0030.00316.46
7.4.300.0030.00316.50
7.4.290.0020.00516.50
7.4.280.0060.00316.63
7.4.270.0030.00716.41
7.4.260.0000.00716.50
7.4.250.0000.00816.56
7.4.240.0040.00416.64
7.4.230.0070.00016.41
7.4.220.0130.00716.62
7.4.210.0060.01316.46
7.4.200.0050.00316.50
7.4.160.0090.00616.57
7.4.150.0070.01017.40
7.4.140.0150.01417.86
7.4.130.0090.00916.76
7.4.120.0070.01216.50
7.4.110.0100.00716.68
7.4.100.0100.00716.66
7.4.90.0070.01016.50
7.4.80.0120.00319.39
7.4.70.0110.00516.59
7.4.60.0030.01316.47
7.4.50.0120.00416.44
7.4.40.0100.00716.27
7.4.30.0090.01216.53
7.4.00.0080.00815.12
7.3.330.0050.00013.20
7.3.320.0000.00513.36
7.3.310.0000.00716.38
7.3.300.0030.00316.36
7.3.290.0060.01216.34
7.3.280.0080.00916.32
7.3.270.0070.01717.40
7.3.260.0120.00616.50
7.3.240.0050.01416.55
7.3.230.0100.00716.52
7.3.210.0080.00816.43
7.3.200.0060.01216.30
7.3.190.0150.00816.48
7.3.180.0130.00316.59
7.3.170.0120.00916.63
7.3.160.0000.01516.36
7.3.10.0040.01216.14
7.3.00.0070.01016.68
7.2.330.0070.01016.93
7.2.320.0100.01316.37
7.2.310.0040.01516.76
7.2.300.0090.01216.58
7.2.290.0060.01416.53
7.2.130.0170.00616.63
7.2.120.0210.00416.63
7.2.110.0120.00816.69
7.2.100.0070.00716.73
7.2.90.0130.00516.71
7.2.80.0080.00817.03
7.2.70.0040.01416.78
7.2.60.0120.00416.89
7.2.50.0070.00716.43
7.2.40.0080.00016.60
7.2.30.0060.00516.52
7.2.20.0130.00316.98
7.2.10.0040.00416.94
7.2.00.0040.01018.15
7.1.250.0040.00915.43
7.1.200.0120.00315.86
7.1.100.0100.00318.04
7.1.70.0070.00716.91
7.1.60.0100.01019.48
7.1.50.0070.01516.96
7.1.00.0070.07322.24
7.0.200.0040.00416.70
7.0.60.0030.07321.59
7.0.50.0030.04017.83
7.0.40.0100.08320.18
7.0.30.0270.04320.23
7.0.20.0270.05320.09
7.0.10.0030.08320.16
7.0.00.0200.03320.21
5.6.280.0000.07720.91
5.6.210.0170.03320.73
5.6.200.0030.04318.17
5.6.190.0000.09020.64
5.6.180.0200.06320.64
5.6.170.0400.06720.50
5.6.160.0070.05020.39
5.6.150.0030.04018.15
5.6.140.0130.05718.11
5.6.130.0100.06718.27
5.6.120.0070.08721.02
5.6.110.0030.04020.98
5.6.100.0100.07721.01
5.6.90.0070.05021.02
5.6.80.0030.06320.42
5.5.350.0270.06020.47
5.5.340.0030.07718.07
5.5.330.0130.06320.13
5.5.320.0000.05020.31
5.5.310.0270.04720.23
5.5.300.0030.05318.04
5.5.290.0030.06317.95
5.5.280.0030.05320.94
5.5.270.0100.04720.96
5.5.260.0030.06020.68
5.5.250.0030.09020.59
5.5.240.0070.07720.36

preferences:
64.47 ms | 400 KiB | 5 Q