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.60.0080.00818.43
8.3.50.0120.00721.09
8.3.40.0190.00318.84
8.3.30.0130.00620.35
8.3.20.0070.01020.20
8.3.10.0140.00021.89
8.3.00.0040.00422.49
8.2.180.0180.00016.63
8.2.170.0120.00322.96
8.2.160.0060.00922.20
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00420.80
8.2.110.0070.00319.20
8.2.100.0040.00717.84
8.2.90.0030.00519.09
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0040.00417.93
8.2.50.0000.00818.10
8.2.40.0080.00020.43
8.2.30.0050.00319.50
8.2.20.0050.00217.56
8.2.10.0000.00817.56
8.2.00.0080.00017.69
8.1.280.0140.00425.92
8.1.270.0090.00023.99
8.1.260.0090.00626.35
8.1.250.0050.00328.09
8.1.240.0040.00421.31
8.1.230.0140.00019.02
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0050.00317.23
8.1.180.0050.00318.10
8.1.170.0040.00718.61
8.1.160.0050.00222.21
8.1.150.0030.00618.58
8.1.140.0040.00417.43
8.1.130.0030.00317.82
8.1.120.0040.00417.47
8.1.110.0000.00817.40
8.1.100.0000.00717.28
8.1.90.0000.00717.38
8.1.80.0000.00717.43
8.1.70.0040.00417.33
8.1.60.0040.00417.54
8.1.50.0060.00317.40
8.1.40.0070.00017.41
8.1.30.0040.00417.55
8.1.20.0050.00317.48
8.1.10.0030.00517.54
8.1.00.0130.00017.53
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0000.00718.38
8.0.270.0070.00017.18
8.0.260.0030.00316.73
8.0.250.0000.00716.99
8.0.240.0080.00016.93
8.0.230.0030.00316.92
8.0.220.0000.00716.94
8.0.210.0030.00316.82
8.0.200.0000.00616.92
8.0.190.0060.00316.95
8.0.180.0070.00016.93
8.0.170.0000.00717.00
8.0.160.0070.00016.94
8.0.150.0000.00816.83
8.0.140.0000.00716.84
8.0.130.0060.00313.25
8.0.120.0070.00016.92
8.0.110.0080.00016.73
8.0.100.0030.00516.75
8.0.90.0070.00016.94
8.0.80.0090.00616.80
8.0.70.0070.00016.75
8.0.60.0050.00316.85
8.0.50.0030.00516.73
8.0.30.0050.01617.05
8.0.20.0140.00517.40
8.0.10.0000.00716.81
8.0.00.0100.00816.57
7.4.330.0080.00015.00
7.4.320.0030.00316.43
7.4.300.0000.00616.41
7.4.290.0030.00316.52
7.4.280.0030.00616.59
7.4.270.0000.00716.50
7.4.260.0030.00513.29
7.4.250.0040.00416.48
7.4.240.0050.00216.60
7.4.230.0040.00416.51
7.4.220.0230.00316.50
7.4.210.0090.00816.52
7.4.200.0000.00716.58
7.4.190.0000.00716.62
7.4.160.0130.00316.61
7.4.150.0120.00617.40
7.4.140.0090.00817.86
7.4.130.0110.00616.54
7.4.120.0100.00716.48
7.4.110.0060.01516.39
7.4.100.0130.00416.34
7.4.90.0100.00716.41
7.4.80.0080.01119.39
7.4.70.0100.01016.60
7.4.60.0080.00816.50
7.4.50.0050.00316.52
7.4.40.0030.00622.77
7.4.30.0070.01016.43
7.4.00.0070.00615.09
7.3.330.0000.00513.17
7.3.320.0050.00013.31
7.3.310.0030.00316.22
7.3.300.0000.00716.33
7.3.290.0070.00716.38
7.3.280.0070.01116.33
7.3.270.0070.01517.40
7.3.260.0140.00316.47
7.3.250.0100.00716.27
7.3.240.0090.01316.54
7.3.230.0040.01816.39
7.3.210.0090.00916.39
7.3.200.0060.01519.39
7.3.190.0130.00916.46
7.3.180.0070.01016.57
7.3.170.0090.00616.39
7.3.160.0090.00616.38
7.3.120.0100.00614.74
7.2.330.0110.01116.50
7.2.320.0140.00516.54
7.2.310.0090.01316.49
7.2.300.0100.00716.57
7.2.290.0130.00316.66
7.2.80.0180.00416.29
7.2.60.0070.00716.94
7.2.00.0000.01219.25
7.1.200.0120.00615.64
7.1.100.0080.00318.26
7.1.70.0040.00417.26
7.1.60.0100.01319.32
7.1.50.0120.00916.84
7.1.00.0000.05322.30
7.0.200.0070.00016.75
7.0.140.0070.07021.92
7.0.100.0070.05319.99
7.0.90.0100.05319.92
7.0.80.0100.04719.84
7.0.70.0170.07020.02
7.0.60.0030.08019.88
7.0.50.0100.09320.34
7.0.40.0030.03720.18
7.0.30.0100.07719.96
7.0.20.0170.07020.08
7.0.10.0070.04020.07
7.0.00.0070.08720.10
5.6.280.0030.07320.90
5.6.250.0070.06320.62
5.6.240.0030.09320.57
5.6.230.0000.08020.75
5.6.220.0070.04720.48
5.6.210.0070.04720.50
5.6.200.0100.08021.12
5.6.190.0100.08321.06
5.6.180.0070.05721.02
5.6.170.0100.07720.95
5.6.160.0170.04321.04
5.6.150.0070.08721.03
5.6.140.0170.06321.03
5.6.130.0030.07021.00
5.6.120.0170.05721.06
5.6.110.0030.04320.94
5.6.100.0100.04021.01
5.6.90.0100.03721.10
5.6.80.0070.05020.55
5.6.70.0200.06720.39
5.6.60.0030.04020.43
5.6.50.0130.08020.42
5.6.40.0200.03720.39
5.6.30.0070.08320.45
5.6.20.0070.06320.36
5.6.10.0130.04320.47
5.6.00.0100.04020.42
5.5.380.0000.05320.46
5.5.370.0100.06320.39
5.5.360.0170.07020.46
5.5.350.0100.07720.43
5.5.340.0070.09020.89
5.5.330.0170.03720.69
5.5.320.0170.06720.89
5.5.310.0030.05320.77
5.5.300.0170.05320.91
5.5.290.0270.06020.80
5.5.280.0030.08320.91
5.5.270.0030.05320.89
5.5.260.0000.05320.75
5.5.250.0030.07020.67
5.5.240.0070.06720.03
5.5.230.0130.06720.15
5.5.220.0030.04020.26
5.5.210.0100.04020.24
5.5.200.0130.07320.11
5.5.190.0130.07020.21
5.5.180.0000.04720.21
5.5.160.0130.03320.12
5.5.150.0030.04720.27
5.5.140.0130.07020.18
5.5.130.0100.09020.10
5.5.120.0130.06320.14
5.5.110.0100.07020.17
5.5.100.0070.07720.08
5.5.90.0070.07020.16
5.5.80.0130.07320.16
5.5.70.0030.04720.09
5.5.60.0000.04320.10
5.5.50.0170.06020.05
5.5.40.0130.06720.05
5.5.30.0100.07720.08
5.5.20.0070.08020.11
5.5.10.0030.08020.06
5.5.00.0030.07320.03
5.4.450.0070.08719.46
5.4.440.0070.05019.53
5.4.430.0070.06019.34
5.4.420.0030.04719.46
5.4.410.0130.04019.32
5.4.400.0000.03718.85
5.4.390.0200.06719.16
5.4.380.0100.04019.12
5.4.370.0070.07719.13
5.4.360.0100.03719.09
5.4.350.0030.08018.90
5.4.340.0030.04719.13
5.4.320.0100.07019.04
5.4.310.0100.07019.04
5.4.300.0100.06718.84
5.4.290.0170.06319.12
5.4.280.0100.07318.88
5.4.270.0070.07719.04
5.4.260.0070.06719.15
5.4.250.0070.04719.22
5.4.240.0030.04719.04
5.4.230.0100.05719.02
5.4.220.0030.06719.13
5.4.210.0100.04019.13
5.4.200.0030.05019.11
5.4.190.0100.07319.02
5.4.180.0100.04319.11
5.4.170.0130.07719.11
5.4.160.0170.06719.02
5.4.150.0070.07719.18
5.4.140.0030.08316.55
5.4.130.0070.07316.38
5.4.120.0070.05716.45
5.4.110.0100.06716.32
5.4.100.0030.05716.39
5.4.90.0200.05716.42
5.4.80.0070.07716.30
5.4.70.0100.07316.47
5.4.60.0030.07716.36
5.4.50.0130.06016.36
5.4.40.0030.04316.45
5.4.30.0000.07316.41
5.4.20.0130.05016.40
5.4.10.0030.07016.36
5.4.00.0070.06315.88
5.3.290.0130.04014.66
5.3.280.0030.07714.65
5.3.270.0100.06314.54
5.3.260.0030.04714.59
5.3.250.0070.07714.56
5.3.240.0070.07014.64
5.3.230.0000.07714.52
5.3.220.0030.05314.70
5.3.210.0030.08014.59
5.3.200.0130.07014.52
5.3.190.0070.06314.54
5.3.180.0000.04014.59
5.3.170.0130.05714.62
5.3.160.0070.06714.60
5.3.150.0200.06314.63
5.3.140.0100.06014.49
5.3.130.0100.07014.57
5.3.120.0100.06714.50
5.3.110.0000.07714.55
5.3.100.0030.06714.03
5.3.90.0070.08014.01
5.3.80.0070.04314.13
5.3.70.0100.07713.95
5.3.60.0070.06313.98
5.3.50.0100.04313.94
5.3.40.0100.07313.98
5.3.30.0070.04013.91
5.3.20.0030.04013.63
5.3.10.0070.06313.67
5.3.00.0170.06713.75
5.2.170.0070.05711.64
5.2.160.0030.05011.64
5.2.150.0100.05311.64
5.2.140.0130.05311.64
5.2.130.0070.03311.64
5.2.120.0100.03311.64
5.2.110.0000.03011.64
5.2.100.0030.05711.64
5.2.90.0100.04311.64
5.2.80.0130.05311.64
5.2.70.0070.03311.64
5.2.60.0130.05711.64
5.2.50.0070.03311.64
5.2.40.0000.03711.64
5.2.30.0070.03711.64
5.2.20.0070.06011.64
5.2.10.0070.05011.64
5.2.00.0030.04011.64
5.1.60.0100.04011.64
5.1.50.0000.05711.64
5.1.40.0030.05311.64
5.1.30.0030.05711.64
5.1.20.0130.05311.64
5.1.10.0170.04311.64
5.1.00.0000.03711.64
5.0.50.0000.02711.64
5.0.40.0030.04011.64
5.0.30.0030.06311.64
5.0.20.0000.04711.64
5.0.10.0030.02011.64
5.0.00.0030.06311.64
4.4.90.0070.01011.64
4.4.80.0030.02011.64
4.4.70.0000.03311.64
4.4.60.0070.03711.64
4.4.50.0070.03311.64
4.4.40.0070.04311.64
4.4.30.0030.03011.64
4.4.20.0030.03311.64
4.4.10.0000.04011.64
4.4.00.0030.04011.64
4.3.110.0030.03311.64
4.3.100.0030.03311.64
4.3.90.0000.03311.64
4.3.80.0170.02011.64
4.3.70.0000.02011.64
4.3.60.0000.03711.64
4.3.50.0130.03011.64
4.3.40.0000.05311.64
4.3.30.0070.03011.64
4.3.20.0000.03011.64
4.3.10.0000.03711.64
4.3.00.0030.02711.64

preferences:
38.25 ms | 401 KiB | 5 Q