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::new();

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.0040.01418.48
8.3.50.0160.00721.99
8.3.40.0070.00718.65
8.3.30.0110.00418.73
8.3.20.0110.00320.04
8.3.10.0050.00223.63
8.3.00.0090.00019.38
8.2.180.0090.00618.29
8.2.170.0070.00722.96
8.2.160.0100.01020.57
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0090.00020.47
8.2.120.0080.00026.35
8.2.110.0110.01120.31
8.2.100.0080.00317.91
8.2.90.0060.00319.08
8.2.80.0040.00417.97
8.2.70.0080.00017.59
8.2.60.0000.00817.88
8.2.50.0040.00418.07
8.2.40.0080.00019.26
8.2.30.0070.00020.68
8.2.20.0000.00917.73
8.2.10.0050.00217.94
8.2.00.0070.00017.86
8.1.280.0070.00725.92
8.1.270.0050.00323.82
8.1.260.0070.01028.09
8.1.250.0020.00528.09
8.1.240.0100.00023.70
8.1.230.0030.00917.43
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.58
8.1.180.0040.00418.10
8.1.170.0000.00818.59
8.1.160.0050.00221.93
8.1.150.0040.00418.75
8.1.140.0040.00417.28
8.1.130.0080.00017.63
8.1.120.0040.00417.31
8.1.110.0040.00417.25
8.1.100.0000.00717.36
8.1.90.0050.00317.32
8.1.80.0000.00817.22
8.1.70.0070.00017.25
8.1.60.0050.00317.48
8.1.50.0030.00617.39
8.1.40.0040.00417.44
8.1.30.0030.00617.42
8.1.20.0040.00417.54
8.1.10.0040.00417.39
8.1.00.0040.00417.46
8.0.300.0060.00318.77
8.0.290.0040.00416.63
8.0.280.0040.00418.38
8.0.270.0000.00716.68
8.0.260.0060.00017.19
8.0.250.0000.00616.84
8.0.240.0030.00616.82
8.0.230.0000.00716.96
8.0.220.0000.00816.92
8.0.210.0040.00416.74
8.0.200.0030.00316.95
8.0.190.0080.00016.95
8.0.180.0060.00316.84
8.0.170.0040.00416.81
8.0.160.0030.00316.92
8.0.150.0040.00416.79
8.0.140.0030.00316.84
8.0.130.0000.00613.27
8.0.120.0080.00016.90
8.0.110.0040.00416.90
8.0.100.0050.00316.77
8.0.90.0040.00416.88
8.0.80.0090.00616.89
8.0.70.0040.00416.70
8.0.60.0000.00716.70
8.0.50.0040.00416.70
8.0.30.0060.01017.11
8.0.20.0120.00817.40
8.0.10.0000.00716.98
8.0.00.0090.00916.64
7.4.330.0050.00016.76
7.4.320.0030.00316.39
7.4.300.0060.00016.57
7.4.290.0000.00716.54
7.4.280.0040.00416.44
7.4.270.0040.00416.48
7.4.260.0030.00316.42
7.4.250.0000.00716.49
7.4.240.0050.00216.52
7.4.230.0070.00016.53
7.4.220.0060.01916.59
7.4.210.0060.00916.42
7.4.200.0050.00216.61
7.4.160.0030.01216.26
7.4.150.0090.01017.40
7.4.140.0050.01517.86
7.4.130.0100.00916.38
7.4.120.0130.00816.46
7.4.110.0000.01816.26
7.4.100.0100.00716.44
7.4.90.0070.01016.42
7.4.80.0030.01619.39
7.4.70.0030.01316.62
7.4.60.0100.00716.54
7.4.50.0040.01116.32
7.4.40.0060.01016.27
7.4.30.0030.01316.33
7.4.00.0070.00714.98
7.3.330.0000.00513.29
7.3.320.0000.00513.10
7.3.310.0030.00616.20
7.3.300.0000.00716.24
7.3.290.0050.01116.30
7.3.280.0110.00916.35
7.3.270.0120.00417.40
7.3.260.0140.00416.29
7.3.250.0140.00716.29
7.3.240.0140.00816.43
7.3.230.0130.00316.41
7.3.210.0070.01116.61
7.3.200.0060.01016.27
7.3.190.0130.00616.39
7.3.180.0070.01016.30
7.3.170.0140.00816.43
7.3.160.0100.00516.49
7.2.330.0070.01016.65
7.2.320.0060.01316.28
7.2.310.0150.00316.41
7.2.300.0110.01116.54
7.2.290.0120.00416.35
7.2.60.0030.01316.94
7.2.00.0040.00719.26
7.1.200.0070.00715.50
7.1.100.0060.00918.20
7.1.70.0110.00317.08
7.1.60.0070.01719.36
7.1.50.0120.00016.95
7.1.00.0070.07322.40
7.0.200.0030.00316.48
7.0.60.0270.03720.02
7.0.50.0170.03717.85
7.0.40.0100.06320.13
7.0.30.0200.09020.15
7.0.20.0430.06720.05
7.0.10.0070.08720.21
7.0.00.0100.05320.05
5.6.280.0070.03021.08
5.6.210.0100.06020.55
5.6.200.0100.07318.12
5.6.190.0030.09020.77
5.6.180.0400.04720.67
5.6.170.0200.04320.47
5.6.160.0130.08020.59
5.6.150.0130.08018.14
5.6.140.0070.06018.20
5.6.130.0100.06718.15
5.6.120.0070.08021.07
5.6.110.0170.07321.02
5.6.100.0100.07721.01
5.6.90.0100.08021.11
5.6.80.0070.07320.49
5.5.350.0170.03720.37
5.5.340.0100.08018.02
5.5.330.0100.09020.15
5.5.320.0030.06720.23
5.5.310.0230.08020.34
5.5.300.0100.07717.95
5.5.290.0070.05018.08
5.5.280.0170.07320.97
5.5.270.0100.06720.84
5.5.260.0030.07020.77
5.5.250.0130.08020.80
5.5.240.0270.06720.05
5.4.450.0600.04319.54
5.4.440.0530.05319.25
5.4.430.0870.06019.30
5.4.420.0700.05019.41
5.4.410.0430.06319.16
5.4.400.0500.05719.18
5.4.390.0530.05318.76
5.4.380.0500.05319.12
5.4.370.0630.04319.05
5.4.360.0600.04719.12
5.4.350.0670.05018.91
5.4.340.0630.07719.18
5.4.320.0500.05718.98
5.4.310.0800.06019.05
5.4.300.0500.05318.80
5.4.290.0530.05319.05
5.4.280.0530.05719.21
5.4.270.0500.06719.08
5.4.260.0570.04718.98
5.4.250.0530.05718.80
5.4.240.0470.05719.11
5.4.230.0600.04318.97
5.4.220.0630.04319.08
5.4.210.0430.06019.08
5.4.200.0630.07018.80
5.4.190.0830.05019.04
5.4.180.0770.04319.20
5.4.170.0530.05318.92
5.4.160.0570.05318.79
5.4.150.0570.05018.79
5.4.140.0630.04316.53
5.4.130.0470.05316.47
5.4.120.0600.04016.42
5.4.110.0500.05016.50
5.4.100.0500.05016.62
5.4.90.0470.05316.48
5.4.80.0470.05016.45
5.4.70.0070.05016.61
5.4.60.0100.04716.37
5.4.50.0470.05016.48
5.4.40.0530.04716.32
5.4.30.0570.04016.50
5.4.20.0130.04316.14
5.4.10.0130.05016.21
5.4.00.0100.05315.93
5.3.290.0800.06714.52
5.3.280.0470.05714.75
5.3.270.0700.05014.63
5.3.260.0600.06714.60
5.3.250.0630.04314.77
5.3.240.0570.04714.55
5.3.230.0570.04314.51
5.3.220.0530.05014.48
5.3.210.0530.05014.50
5.3.200.0530.04714.51
5.3.190.0500.05314.48
5.3.180.0630.03714.60
5.3.170.0230.04014.60
5.3.160.0370.03314.61
5.3.150.0500.05014.46
5.3.140.0570.04014.46
5.3.130.0530.05014.46
5.3.120.0000.06014.56
5.3.110.0230.04014.40
5.3.100.0200.04714.05
5.3.90.0100.05713.93
5.3.80.0030.06013.87
5.3.70.0130.04714.12
5.3.60.0130.05014.00
5.3.50.0070.05313.92
5.3.40.0230.04713.80
5.3.30.0230.04313.77
5.3.20.0130.05013.61
5.3.10.0270.03713.65
5.3.00.0170.05713.50
5.2.170.0270.02711.00
5.2.160.0100.04011.18
5.2.150.0170.04011.14
5.2.140.0200.03711.06
5.2.130.0070.04011.14
5.2.120.0000.04711.05
5.2.110.0130.03711.00
5.2.100.0070.04011.05
5.2.90.0100.03710.96
5.2.80.0130.03710.96
5.2.70.0100.04311.05
5.2.60.0030.05011.07
5.2.50.0070.04711.02
5.2.40.0200.03310.86
5.2.30.0000.04711.00
5.2.20.0130.03710.89
5.2.10.0100.03710.77
5.2.00.0200.03710.66
5.1.60.0130.0339.89
5.1.50.0130.0309.89
5.1.40.0070.0339.90
5.1.30.0100.03310.19
5.1.20.0130.03010.27
5.1.10.0100.0409.97
5.1.00.0200.03010.11
5.0.50.0200.0278.46
5.0.40.0030.0378.44
5.0.30.0030.0478.23
5.0.20.0070.0278.10
5.0.10.0170.0178.12
5.0.00.0030.0438.01
4.4.90.0130.0136.70
4.4.80.0070.0236.70
4.4.70.0070.0176.70
4.4.60.0070.0236.70
4.4.50.0000.0236.70
4.4.40.0100.0306.70
4.4.30.0070.0206.70
4.4.20.0030.0206.70
4.4.10.0200.0236.70
4.4.00.0000.0406.70
4.3.110.0070.0206.70
4.3.100.0030.0236.70
4.3.90.0070.0176.70
4.3.80.0030.0336.70
4.3.70.0000.0236.70
4.3.60.0000.0236.70
4.3.50.0100.0176.70
4.3.40.0030.0336.70
4.3.30.0000.0236.70
4.3.20.0070.0176.70
4.3.10.0030.0206.70
4.3.00.0000.0236.70

preferences:
63.51 ms | 401 KiB | 5 Q