3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); class A { function B() { die('aa'); } static function C() { var_dump($this); } function __destruct() { echo '<br />Well, you have done!!<br />'; die('xx'); } } A::newinstance();

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.0090.00918.68
8.3.50.0140.01021.92
8.3.40.0090.00618.79
8.3.30.0000.01418.59
8.3.20.0080.00020.31
8.3.10.0040.00423.53
8.3.00.0070.00319.30
8.2.180.0090.00616.50
8.2.170.0060.00922.96
8.2.160.0150.00420.52
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0060.00320.47
8.2.120.0100.00326.35
8.2.110.0040.00422.20
8.2.100.0070.00417.80
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0000.00817.38
8.2.60.0080.00017.80
8.2.50.0000.00818.07
8.2.40.0030.00519.32
8.2.30.0040.00420.50
8.2.20.0000.00917.69
8.2.10.0040.00418.03
8.2.00.0000.00718.09
8.1.280.0070.01125.92
8.1.270.0150.00323.65
8.1.260.0140.00028.09
8.1.250.0070.00028.09
8.1.240.0030.00623.95
8.1.230.0060.00617.54
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0080.00017.23
8.1.190.0040.00417.63
8.1.180.0040.00418.10
8.1.170.0080.00018.53
8.1.160.0040.00421.86
8.1.150.0040.00418.74
8.1.140.0030.00519.32
8.1.130.0000.00717.63
8.1.120.0070.00017.39
8.1.110.0040.00417.33
8.1.100.0040.00417.36
8.1.90.0080.00017.29
8.1.80.0070.00017.28
8.1.70.0000.00817.30
8.1.60.0050.00317.44
8.1.50.0000.00717.45
8.1.40.0000.00817.43
8.1.30.0040.00417.65
8.1.20.0080.00017.53
8.1.10.0040.00417.48
8.1.00.0050.00317.32
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0080.00018.31
8.0.270.0000.00717.10
8.0.260.0060.00017.07
8.0.250.0000.00716.94
8.0.240.0000.00716.99
8.0.230.0030.00316.91
8.0.220.0040.00416.78
8.0.210.0080.00016.86
8.0.200.0030.00316.86
8.0.190.0050.00316.95
8.0.180.0080.00016.82
8.0.170.0070.00016.76
8.0.160.0070.00016.82
8.0.150.0000.00716.79
8.0.140.0030.00316.90
8.0.130.0030.00313.39
8.0.120.0040.00416.86
8.0.110.0040.00416.89
8.0.100.0050.00316.77
8.0.90.0070.00016.83
8.0.80.0060.00916.87
8.0.70.0040.00416.94
8.0.60.0040.00416.93
8.0.50.0040.00416.77
8.0.30.0100.01116.95
8.0.20.0110.01017.40
8.0.10.0050.00316.88
8.0.00.0100.00816.66
7.4.330.0000.00516.73
7.4.320.0000.00816.39
7.4.300.0000.00616.46
7.4.290.0070.00016.55
7.4.280.0050.00216.37
7.4.270.0030.00516.45
7.4.260.0050.00216.49
7.4.250.0070.00016.48
7.4.240.0020.00516.56
7.4.230.0000.00716.33
7.4.220.0130.01316.28
7.4.210.0070.00716.60
7.4.200.0000.00716.55
7.4.160.0030.01316.41
7.4.150.0090.00917.40
7.4.140.0100.01017.86
7.4.130.0140.00716.41
7.4.120.0140.00416.40
7.4.110.0090.00916.57
7.4.100.0140.00416.43
7.4.90.0070.01016.17
7.4.80.0070.01019.39
7.4.70.0060.01016.39
7.4.60.0100.01016.57
7.4.50.0140.00316.28
7.4.40.0100.00616.57
7.4.30.0090.00816.41
7.4.00.0070.00314.74
7.3.330.0000.00513.16
7.3.320.0000.00613.17
7.3.310.0070.00016.26
7.3.300.0030.00316.21
7.3.290.0050.01016.32
7.3.280.0100.00716.35
7.3.270.0180.00617.40
7.3.260.0070.01016.52
7.3.250.0130.00516.38
7.3.240.0140.00816.27
7.3.230.0110.00516.39
7.3.210.0150.00416.60
7.3.200.0080.00816.18
7.3.190.0160.00016.50
7.3.180.0070.01016.39
7.3.170.0150.00616.50
7.3.160.0090.00616.30
7.3.10.0070.00716.56
7.3.00.0000.01416.33
7.2.330.0120.00616.50
7.2.320.0120.00616.61
7.2.310.0030.01316.55
7.2.300.0100.00716.18
7.2.290.0030.01316.42
7.2.130.0040.00816.80
7.2.120.0040.00816.77
7.2.110.0100.00616.77
7.2.100.0120.00616.69
7.2.90.0090.00616.52
7.2.80.0080.00416.72
7.2.70.0070.01016.82
7.2.60.0070.00716.63
7.2.50.0030.01216.89
7.2.40.0030.00716.52
7.2.30.0000.01316.70
7.2.20.0000.01016.66
7.2.10.0100.00316.87
7.2.00.0030.01118.06
7.1.250.0030.00615.41
7.1.200.0000.01015.67
7.1.100.0070.00718.01
7.1.70.0070.00717.14
7.1.60.0070.01819.36
7.1.50.0060.01516.51
7.1.00.0070.07322.37
7.0.200.0060.00316.77
7.0.60.0070.07319.95
7.0.50.0000.09017.88
7.0.40.0270.07320.20
7.0.30.0130.04320.26
7.0.20.0270.06020.08
7.0.10.0030.04720.34
7.0.00.0170.08020.30
5.6.280.0000.05021.08
5.6.210.0070.08320.63
5.6.200.0200.07318.15
5.6.190.0000.04320.77
5.6.180.0330.04020.54
5.6.170.0170.08720.55
5.6.160.0130.04320.44
5.6.150.0100.04718.16
5.6.140.0070.03318.15
5.6.130.0030.04018.15
5.6.120.0030.04721.02
5.6.110.0130.05020.90
5.6.100.0030.08721.00
5.6.90.0070.05721.01
5.6.80.0000.08020.51
5.5.350.0130.03320.39
5.5.340.0100.07017.95
5.5.330.0070.03720.45
5.5.320.0100.07720.34
5.5.310.0200.05720.27
5.5.300.0030.07017.95
5.5.290.0100.05318.03
5.5.280.0100.05320.66
5.5.270.0200.06720.89
5.5.260.0130.07320.88
5.5.250.0030.04320.80
5.5.240.0230.06020.16

preferences:
49.36 ms | 401 KiB | 5 Q