3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function action(){ throw new Exception(); } public function __destruct(){ echo "i'm dying"; } } $o = new Test(); $o->action();

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.0140.00416.75
8.3.50.0040.01217.93
8.3.40.0070.00718.89
8.3.30.0110.00718.84
8.3.20.0070.00020.09
8.3.10.0080.00023.52
8.3.00.0080.00019.27
8.2.180.0090.01216.63
8.2.170.0100.00322.96
8.2.160.0030.01022.13
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00317.75
8.2.120.0040.00426.35
8.2.110.0090.00021.18
8.2.100.0040.00817.97
8.2.90.0050.00319.08
8.2.80.0030.00617.97
8.2.70.0030.00617.75
8.2.60.0080.00017.93
8.2.50.0080.00018.10
8.2.40.0030.00619.29
8.2.30.0040.00420.68
8.2.20.0030.00517.65
8.2.10.0000.00818.00
8.2.00.0000.00718.04
8.1.270.0060.00323.97
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0030.00622.75
8.1.230.0040.00719.55
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0030.00617.25
8.1.190.0050.00317.23
8.1.180.0080.00018.10
8.1.170.0040.00420.82
8.1.160.0080.00022.00
8.1.150.0000.00718.94
8.1.140.0030.00519.47
8.1.130.0000.00717.66
8.1.120.0070.00017.50
8.1.110.0090.00017.33
8.1.100.0050.00317.33
8.1.90.0040.00417.52
8.1.80.0040.00417.34
8.1.70.0000.00717.27
8.1.60.0000.00817.45
8.1.50.0040.00417.44
8.1.40.0080.00017.54
8.1.30.0030.00617.57
8.1.20.0040.00417.55
8.1.10.0000.00717.53
8.1.00.0060.00317.38
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0030.00318.43
8.0.270.0000.00717.35
8.0.260.0000.00617.31
8.0.250.0070.00017.01
8.0.240.0050.00517.01
8.0.230.0000.00716.84
8.0.220.0070.00016.77
8.0.210.0040.00416.93
8.0.200.0030.00616.80
8.0.190.0000.00716.98
8.0.180.0000.00816.74
8.0.170.0060.00316.80
8.0.160.0040.00416.81
8.0.150.0040.00416.84
8.0.140.0060.00316.91
8.0.130.0060.00013.31
8.0.120.0000.00716.77
8.0.110.0040.00417.01
8.0.100.0070.00016.83
8.0.90.0080.00016.81
8.0.80.0090.00916.95
8.0.70.0000.00716.72
8.0.60.0080.00016.85
8.0.50.0040.00416.89
8.0.30.0070.00716.99
8.0.20.0090.00917.41
8.0.10.0040.00416.96
8.0.00.0110.00716.90
7.4.330.0040.00016.71
7.4.320.0030.00516.41
7.4.300.0000.00616.50
7.4.290.0020.00516.63
7.4.280.0040.00416.49
7.4.270.0030.00316.42
7.4.260.0080.00016.47
7.4.250.0020.00516.45
7.4.240.0030.00416.48
7.4.230.0000.00716.49
7.4.220.0170.00416.62
7.4.210.0130.00616.66
7.4.200.0000.00716.34
7.4.160.0000.01416.49
7.4.150.0060.01217.40
7.4.140.0040.01517.86
7.4.130.0120.00616.51
7.4.120.0140.00516.43
7.4.110.0100.01016.46
7.4.100.0120.00616.42
7.4.90.0120.00916.67
7.4.80.0060.01619.39
7.4.70.0130.00316.62
7.4.60.0060.01216.60
7.4.50.0140.00316.39
7.4.40.0030.01316.54
7.4.30.0080.00916.47
7.4.00.0100.00714.92
7.3.330.0000.00613.32
7.3.320.0000.00513.22
7.3.310.0070.00016.31
7.3.300.0020.00516.37
7.3.290.0090.00716.32
7.3.280.0110.00816.34
7.3.270.0140.00317.40
7.3.260.0130.00316.46
7.3.250.0080.01016.41
7.3.240.0110.00716.45
7.3.230.0080.01116.54
7.3.210.0100.00716.45
7.3.200.0070.01016.37
7.3.190.0040.01516.26
7.3.180.0170.00016.35
7.3.170.0190.00316.50
7.3.160.0170.00016.59
7.3.10.0030.00616.60
7.3.00.0110.00316.64
7.2.330.0030.01316.80
7.2.320.0110.01216.29
7.2.310.0040.01216.62
7.2.300.0060.01116.69
7.2.290.0170.00616.73
7.2.130.0040.00816.90
7.2.120.0000.01116.98
7.2.110.0070.00716.85
7.2.100.0070.00316.75
7.2.90.0070.00717.03
7.2.80.0030.01016.89
7.2.70.0060.00617.00
7.2.60.0030.00816.86
7.2.50.0070.00316.99
7.2.40.0040.00416.96
7.2.30.0070.00716.91
7.2.20.0000.00916.93
7.2.10.0030.00916.73
7.2.00.0100.00518.23
7.1.250.0040.00815.66
7.1.200.0070.00315.75
7.1.100.0030.00917.99
7.1.70.0070.01016.84
7.1.60.0070.01619.48
7.1.50.0090.01217.00
7.1.00.0000.08022.30
7.0.200.0440.00614.65
7.0.60.0030.09019.91
7.0.50.0070.08317.87
7.0.40.0070.07320.09
7.0.30.0200.03720.09
7.0.20.0230.08320.12
7.0.10.0330.04320.35
7.0.00.0030.04720.29
5.6.210.0070.04020.57
5.6.200.0070.06718.29
5.6.190.0100.05020.48
5.6.180.0370.07320.50
5.6.170.0270.07720.44
5.6.160.0130.07720.61
5.6.150.0000.04018.15
5.6.140.0070.07318.14
5.6.130.0170.07318.18
5.6.120.0070.08321.13
5.6.110.0070.04720.99
5.6.100.0100.05721.00
5.6.90.0070.07721.08
5.6.80.0130.06320.43
5.5.350.4100.04320.44
5.5.340.0100.06317.96
5.5.330.0130.06020.28
5.5.320.0630.07320.28
5.5.310.0270.08020.41
5.5.300.0070.04718.07
5.5.290.0100.06018.08
5.5.280.0070.03720.98
5.5.270.0030.04020.82
5.5.260.0030.09020.77
5.5.250.0170.06720.71
5.5.240.0170.05320.25

preferences:
52.02 ms | 400 KiB | 5 Q