3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function deleteMe(&$obj) { unset($obj); } } class Bar extends Foo { public function __construct() { $foo = new Foo(); var_dump($foo); Foo:deleteMe($foo); var_dump($foo); } } $bar = new Bar();

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.70.0000.01818.55
8.3.60.0040.01118.68
8.3.50.0080.00721.21
8.3.40.0120.00318.97
8.3.30.0110.00419.18
8.3.20.0080.00020.21
8.3.10.0080.00022.09
8.3.00.0060.00322.51
8.2.190.0000.01916.75
8.2.180.0120.00316.75
8.2.170.0070.00722.96
8.2.160.0080.00519.27
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0060.00319.66
8.2.110.0000.00922.15
8.2.100.0040.00819.33
8.2.90.0050.00319.07
8.2.80.0040.00417.97
8.2.70.0060.00617.50
8.2.60.0000.00817.93
8.2.50.0030.00518.07
8.2.40.0050.00317.97
8.2.30.0070.00018.05
8.2.20.0020.00517.53
8.2.10.0000.00817.56
8.2.00.0040.00417.60
8.1.280.0000.01525.92
8.1.270.0050.00322.01
8.1.260.0030.00626.35
8.1.250.0030.00528.09
8.1.240.0090.00023.77
8.1.230.0040.00818.97
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0030.00517.65
8.1.180.0080.00018.75
8.1.170.0050.00318.52
8.1.160.0020.00522.14
8.1.150.0070.00018.57
8.1.140.0000.00717.40
8.1.130.0030.00317.89
8.1.120.0000.00717.42
8.1.110.0040.00417.40
8.1.100.0000.00717.28
8.1.90.0050.00217.46
8.1.80.0000.00717.22
8.1.70.0030.00317.27
8.1.60.0030.00617.63
8.1.50.0030.00617.51
8.1.40.0000.00717.51
8.1.30.0040.00417.54
8.1.20.0000.00817.70
8.1.10.0030.00617.56
8.1.00.0030.00517.47
8.0.300.0040.00418.77
8.0.290.0070.00017.18
8.0.280.0060.00318.30
8.0.270.0040.00417.20
8.0.260.0070.00016.82
8.0.250.0070.00016.87
8.0.240.0040.00416.92
8.0.230.0040.00416.92
8.0.220.0030.00316.93
8.0.210.0030.00316.77
8.0.200.0030.00316.80
8.0.190.0000.00816.97
8.0.180.0000.00716.83
8.0.170.0000.00816.94
8.0.160.0040.00416.84
8.0.150.0070.00016.86
8.0.140.0000.00716.92
8.0.130.0000.00713.27
8.0.120.0040.00416.86
8.0.110.0000.00716.91
8.0.100.0040.00416.71
8.0.90.0000.00716.76
8.0.80.0060.00916.91
8.0.70.0040.00416.76
8.0.60.0000.00716.75
8.0.50.0070.00016.93
8.0.30.0110.00717.29
8.0.20.0100.01217.44
8.0.10.0040.00416.90
8.0.00.0100.00816.65
7.4.330.0020.00216.79
7.4.320.0030.00316.42
7.4.300.0040.00416.59
7.4.290.0000.00716.52
7.4.280.0000.00716.57
7.4.270.0030.00316.61
7.4.260.0040.00416.49
7.4.250.0040.00416.40
7.4.240.0020.00516.59
7.4.230.0030.00316.68
7.4.220.0060.00916.64
7.4.210.0070.00916.50
7.4.200.0070.00016.60
7.4.190.0030.00316.69
7.4.160.0070.01116.60
7.4.150.0140.00317.40
7.4.140.0080.01417.86
7.4.130.0090.00816.46
7.4.120.0100.00916.42
7.4.110.0150.00316.59
7.4.100.0110.01116.70
7.4.90.0090.00916.31
7.4.80.0090.00919.39
7.4.70.0110.01216.55
7.4.60.0120.00616.46
7.4.50.0040.00416.24
7.4.40.0000.01322.77
7.4.30.0090.00616.32
7.4.00.0030.01015.18
7.3.330.0030.00313.18
7.3.320.0050.00013.10
7.3.310.0030.00316.36
7.3.300.0000.00616.34
7.3.290.0080.00616.49
7.3.280.0090.00816.29
7.3.270.0110.00717.40
7.3.260.0070.01116.33
7.3.250.0150.00416.46
7.3.240.0130.00416.42
7.3.230.0090.00916.47
7.3.210.0110.00616.43
7.3.200.0060.01319.39
7.3.190.0140.00416.46
7.3.180.0080.00816.36
7.3.170.0090.00916.56
7.3.160.0090.00616.30
7.3.120.0030.01214.91
7.2.330.0070.01016.70
7.2.320.0120.00616.74
7.2.310.0060.01116.78
7.2.300.0120.00616.60
7.2.290.0100.00716.33
7.2.60.0030.01016.70
7.2.00.0000.01219.22
7.1.200.0040.01115.84
7.1.100.0090.00618.19
7.1.70.0090.00316.93
7.1.60.0130.01019.82
7.1.50.0060.01816.96
7.1.00.0030.03722.30
7.0.200.0060.00316.73
7.0.140.0100.06722.04
7.0.100.0600.07719.97
7.0.90.0630.07720.04
7.0.80.0500.08719.94
7.0.70.0530.06719.95
7.0.60.0570.08019.98
7.0.50.0430.05720.35
7.0.40.0100.05020.10
7.0.30.0170.07020.10
7.0.20.0170.07320.09
7.0.10.0130.06720.03
7.0.00.0070.08320.07
5.6.280.0000.07721.08
5.6.250.0070.07720.64
5.6.240.0070.04720.62
5.6.230.0000.09320.69
5.6.220.0070.08020.50
5.6.210.0000.08720.46
5.6.200.0100.07720.97
5.6.190.0030.08721.04
5.6.180.0130.07721.02
5.6.170.0130.06020.97
5.6.160.0030.08021.18
5.6.150.0100.07720.95
5.6.140.0170.06721.14
5.6.130.0070.08721.11
5.6.120.0030.08721.09
5.6.110.0130.07721.00
5.6.100.0130.07021.13
5.6.90.0170.07721.01
5.6.80.0130.05320.48
5.6.70.0030.08320.41
5.6.60.0070.08020.42
5.6.50.0100.06020.42
5.6.40.0070.07720.32
5.6.30.0200.06320.40
5.6.20.0100.06320.43
5.6.10.0100.08020.30
5.6.00.0070.07720.37
5.5.380.0030.08320.55
5.5.370.0070.08320.43
5.5.360.0070.04720.41
5.5.350.0070.08320.41
5.5.340.0170.07320.93
5.5.330.0200.05720.80
5.5.320.0070.08320.80
5.5.310.0100.04320.89
5.5.300.0130.06720.73
5.5.290.0100.07020.86
5.5.280.0000.07720.88
5.5.270.0130.07320.80
5.5.260.0100.07020.93
5.5.250.0130.06020.64
5.5.240.0130.06720.27
5.5.230.0070.08320.11
5.5.220.0070.07720.26
5.5.210.0130.07320.25
5.5.200.0130.07020.23
5.5.190.0100.08320.19
5.5.180.0100.07719.99
5.5.160.0070.08020.28
5.5.150.0070.08020.28
5.5.140.0000.07720.26
5.5.130.0070.07720.21
5.5.120.0070.08320.30
5.5.110.0170.06720.27
5.5.100.0100.07320.08
5.5.90.0100.07320.11
5.5.80.0200.06320.07
5.5.70.0170.06720.04
5.5.60.0030.08320.12
5.5.50.0070.08020.06
5.5.40.0130.03320.13
5.5.30.0070.08020.15
5.5.20.0030.07319.93
5.5.10.0170.06720.09
5.5.00.0030.05020.03
5.4.450.0070.07719.22
5.4.440.0030.06019.18
5.4.430.0100.07319.51
5.4.420.0200.06319.46
5.4.410.0100.07719.43
5.4.400.0030.07718.91
5.4.390.0070.07719.18
5.4.380.0130.06719.05
5.4.370.0170.06719.14
5.4.360.0070.08019.24
5.4.350.0200.06719.23
5.4.340.0000.06719.14
5.4.320.0070.07719.07
5.4.310.0100.07319.05
5.4.300.0070.07019.21
5.4.290.0100.07319.25
5.4.280.0070.08018.88
5.4.270.0000.08719.21
5.4.260.0170.06719.05
5.4.250.0130.07319.13
5.4.240.0030.08019.04
5.4.230.0130.06318.89
5.4.220.0100.07019.04
5.4.210.0100.04019.24
5.4.200.0030.06019.25
5.4.190.0070.07719.13
5.4.180.0100.06718.94
5.4.170.0030.08019.12
5.4.160.0070.07319.23
5.4.150.0100.07019.19
5.4.140.0100.04016.26
5.4.130.0100.06716.35
5.4.120.0070.07716.33
5.4.110.0100.07316.34
5.4.100.0030.07316.54
5.4.90.0030.04016.48
5.4.80.0070.07316.40
5.4.70.0070.07016.32
5.4.60.0030.04316.30
5.4.50.0070.07316.31
5.4.40.0100.03716.27
5.4.30.0000.06016.31
5.4.20.0070.03016.40
5.4.10.0030.07716.25
5.4.00.0100.07315.82
5.3.290.0130.06714.60
5.3.280.0070.07714.70
5.3.270.0030.07714.72
5.3.260.0030.07314.57
5.3.250.0170.06314.59
5.3.240.0070.06314.71
5.3.230.0000.04714.66
5.3.220.0030.04314.66
5.3.210.0000.05714.63
5.3.200.0130.07014.63
5.3.190.0100.05714.50
5.3.180.0100.03714.59
5.3.170.0070.03714.68
5.3.160.0100.03714.60
5.3.150.0070.07014.52
5.3.140.0100.05014.67
5.3.130.0130.08014.67
5.3.120.0070.04014.57
5.3.110.0000.08314.54
5.3.100.0100.06314.11
5.3.90.0030.03314.00
5.3.80.0030.07714.07
5.3.70.0100.06314.08
5.3.60.0030.07314.14
5.3.50.0070.06714.00
5.3.40.0000.07014.02
5.3.30.0030.06314.00
5.3.20.0030.03714.00
5.3.10.0130.02314.00
5.3.00.0030.06714.00
5.2.170.0030.06014.00
5.2.160.0070.07014.00
5.2.150.0030.06314.00
5.2.140.0130.04714.00
5.2.130.0070.05714.00
5.2.120.0000.06314.00
5.2.110.0030.06314.00
5.2.100.0030.06014.00
5.2.90.0000.04014.00
5.2.80.0070.06014.00
5.2.70.0100.04714.00
5.2.60.0030.05714.00
5.2.50.0070.05014.00
5.2.40.0100.05314.00
5.2.30.0170.05014.00
5.2.20.0070.02314.00
5.2.10.0030.02314.00
5.2.00.0070.06014.00
5.1.60.0070.02314.00
5.1.50.0030.06014.00
5.1.40.0070.05014.00
5.1.30.0070.05714.00
5.1.20.0000.05314.00
5.1.10.0000.06014.00
5.1.00.0070.04014.00
5.0.50.0030.04314.00
5.0.40.0130.03714.00
5.0.30.0030.04014.00
5.0.20.0070.03714.00
5.0.10.0070.03314.00
5.0.00.0000.04714.00
4.4.90.0000.01314.00
4.4.80.0000.02014.00
4.4.70.0030.02714.00
4.4.60.0070.03014.00
4.4.50.0000.04014.00
4.4.40.0000.05314.00
4.4.30.0030.02314.00
4.4.20.0070.02014.00
4.4.10.0070.03014.00
4.4.00.0000.04714.00
4.3.110.0030.03014.00
4.3.100.0070.03014.00
4.3.90.0030.03314.00
4.3.80.0100.02714.00
4.3.70.0000.03014.00
4.3.60.0070.02314.00
4.3.50.0100.03014.00
4.3.40.0030.05014.00
4.3.30.0000.03714.00
4.3.20.0000.03314.00
4.3.10.0000.03014.00
4.3.00.0100.02714.00

preferences:
31.61 ms | 401 KiB | 5 Q