3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { function bar() { $this->a = 5; } function foo() { unset($this->a); } } $f = new foo(); $f->bar(); var_dump($f); $f->foo(); var_dump($f);

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.4.20.0170.00317.52
8.4.10.0060.00317.46
8.3.150.0070.00317.20
8.3.140.0110.00720.70
8.3.130.0030.00618.32
8.3.120.0060.00318.82
8.3.110.0130.00720.94
8.3.100.0050.00524.06
8.3.90.0120.00626.77
8.3.80.0060.00317.97
8.3.70.0090.00616.50
8.3.60.0140.00716.88
8.3.50.0090.01222.83
8.3.40.0140.00018.63
8.3.30.0090.00618.96
8.3.20.0040.00420.16
8.3.10.0070.00021.73
8.3.00.0080.00019.79
8.2.260.0130.00616.67
8.2.250.0100.00716.71
8.2.240.0090.00018.98
8.2.230.0060.00322.58
8.2.220.0030.00637.54
8.2.210.0040.00426.77
8.2.200.0060.00316.63
8.2.190.0030.01016.75
8.2.180.0150.00316.38
8.2.170.0040.01122.96
8.2.160.0070.00722.08
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0140.00426.16
8.2.120.0090.00019.64
8.2.110.0030.00622.20
8.2.100.0110.00017.72
8.2.90.0040.00419.27
8.2.80.0070.00417.97
8.2.70.0040.00417.50
8.2.60.0030.00619.53
8.2.50.0030.00818.07
8.2.40.0000.00819.71
8.2.30.0040.00419.71
8.2.20.0040.00417.66
8.2.10.0020.00518.10
8.2.00.0000.00717.61
8.1.310.0050.00316.70
8.1.300.0090.00919.77
8.1.290.0030.00630.84
8.1.280.0130.01025.92
8.1.270.0000.00821.89
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00423.86
8.1.230.0040.00719.16
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.22
8.1.180.0060.00618.10
8.1.170.0040.00418.40
8.1.160.0030.00521.82
8.1.150.0040.00418.88
8.1.140.0000.00717.29
8.1.130.0040.00417.82
8.1.120.0030.00517.39
8.1.110.0000.00817.27
8.1.100.0000.00717.29
8.1.90.0000.00717.29
8.1.80.0030.00517.39
8.1.70.0000.00717.42
8.1.60.0000.00817.63
8.1.50.0040.00417.48
8.1.40.0000.00917.50
8.1.30.0050.00517.54
8.1.20.0000.00817.57
8.1.10.0030.00617.40
8.1.00.0050.00317.48
8.0.300.0000.00720.80
8.0.290.0040.00417.03
8.0.280.0030.00318.27
8.0.270.0030.00417.07
8.0.260.0060.00017.09
8.0.250.0000.00716.80
8.0.240.0070.00016.96
8.0.230.0030.00316.93
8.0.220.0000.00716.84
8.0.210.0040.00416.84
8.0.200.0060.00016.87
8.0.190.0000.00716.82
8.0.180.0040.00416.84
8.0.170.0070.00016.84
8.0.160.0000.00716.89
8.0.150.0000.00716.81
8.0.140.0080.00016.82
8.0.130.0000.00713.24
8.0.120.0000.00816.80
8.0.110.0020.00516.75
8.0.100.0050.00316.79
8.0.90.0080.00016.69
8.0.80.0110.00416.79
8.0.70.0040.00416.89
8.0.60.0040.00416.70
8.0.50.0000.00716.88
8.0.30.0130.01116.92
8.0.20.0120.00917.40
8.0.10.0050.00216.91
8.0.00.0110.00616.71
7.4.330.0000.00515.20
7.4.320.0030.00316.54
7.4.300.0040.00416.58
7.4.290.0030.00316.52
7.4.280.0040.00416.54
7.4.270.0070.00016.53
7.4.260.0040.00416.60
7.4.250.0000.00716.46
7.4.240.0000.00716.55
7.4.230.0000.00716.68
7.4.220.0070.01016.62
7.4.210.0090.00816.50
7.4.200.0050.00316.41
7.4.160.0060.00916.48
7.4.150.0090.00917.40
7.4.140.0080.01017.86
7.4.130.0090.00816.53
7.4.120.0090.00816.39
7.4.110.0160.00816.49
7.4.100.0060.01316.46
7.4.90.0100.01016.50
7.4.80.0110.01119.39
7.4.70.0070.01016.56
7.4.60.0040.01216.63
7.4.50.0040.00016.52
7.4.40.0120.00616.59
7.4.30.0140.00816.31
7.4.00.0080.01014.86
7.3.330.0030.00313.23
7.3.320.0020.00213.23
7.3.310.0030.00416.36
7.3.300.0070.00016.46
7.3.290.0030.00316.23
7.3.280.0080.00816.31
7.3.270.0140.00417.40
7.3.260.0120.00616.48
7.3.250.0120.00816.30
7.3.240.0030.01416.59
7.3.230.0060.00916.39
7.3.210.0120.00916.25
7.3.200.0080.00919.39
7.3.190.0200.00016.45
7.3.180.0060.01616.39
7.3.170.0040.01216.50
7.3.160.0110.00616.36
7.3.120.0080.00714.88
7.3.110.0050.01114.71
7.3.100.0060.00714.95
7.3.90.0050.00614.85
7.3.80.0070.00714.93
7.3.70.0050.00814.71
7.3.60.0070.00714.72
7.3.50.0070.00414.68
7.3.40.0030.01014.61
7.3.30.0040.00914.69
7.3.20.0100.00216.57
7.3.10.0100.00616.45
7.3.00.0050.01216.50
7.2.330.0060.01216.31
7.2.320.0100.01016.63
7.2.310.0130.00716.59
7.2.300.0090.00916.59
7.2.290.0080.00816.67
7.2.250.0060.01314.69
7.2.240.0070.00915.04
7.2.230.0020.01115.08
7.2.220.0000.01014.99
7.2.210.0060.00615.04
7.2.200.0050.01215.15
7.2.190.0050.01014.96
7.2.180.0060.00814.97
7.2.170.0050.01014.92
7.2.160.0090.00915.02
7.2.150.0060.00916.85
7.2.140.0100.00617.14
7.2.130.0100.01016.51
7.2.120.0160.00716.74
7.2.110.0080.01216.70
7.2.100.0160.00416.56
7.2.90.0060.01116.51
7.2.80.0090.01116.66
7.2.70.0100.01016.65
7.2.60.0100.00816.63
7.2.50.0080.01316.48
7.2.40.0080.01016.66
7.2.30.0090.00716.67
7.2.20.0050.01116.68
7.2.10.0110.00816.64
7.2.00.0080.00717.59
7.1.330.0070.00715.70
7.1.320.0070.00915.49
7.1.310.0030.01015.70
7.1.300.0050.00715.63
7.1.290.0070.00415.77
7.1.280.0040.00815.66
7.1.270.0030.00915.71
7.1.260.0070.00815.82
7.1.250.0060.01415.54
7.1.200.0110.00415.38
7.1.100.0090.00318.11
7.1.70.0000.01117.15
7.1.60.0040.01419.57
7.1.50.0060.00617.00
7.1.00.0030.07722.31
7.0.200.0030.00516.79
7.0.140.0030.03322.01
7.0.60.0130.08319.93
7.0.50.0070.05717.82
7.0.40.0130.08320.36
7.0.30.0270.07020.16
7.0.20.0170.04320.12
7.0.10.0030.05320.08
7.0.00.0100.08720.19
5.6.280.0070.07021.04
5.6.210.0170.06720.70
5.6.200.0070.06318.19
5.6.190.0030.08720.63
5.6.180.0300.07320.62
5.6.170.0270.08020.54
5.6.160.0030.07320.71
5.6.150.0100.07318.19
5.6.140.0030.04018.21
5.6.130.0100.05318.13
5.6.120.0130.07721.01
5.6.110.0030.05020.87
5.6.100.0070.06721.00
5.6.90.0070.08721.04
5.6.80.0030.07020.35
5.5.350.0130.07020.41
5.5.340.0070.03718.05
5.5.330.0030.08320.27
5.5.320.2430.04720.34
5.5.310.0270.06020.19
5.5.300.0130.07717.94
5.5.290.0000.07317.97
5.5.280.0170.04720.97
5.5.270.0100.05320.86
5.5.260.0030.06720.65
5.5.250.0070.03720.44
5.5.240.0170.06020.05
5.4.450.1170.04719.52
5.4.440.0230.07319.48
5.4.430.0300.04719.52
5.4.420.0030.06719.59
5.4.410.0100.05018.96
5.4.400.0200.04318.82
5.4.390.0100.07318.50
5.4.380.0130.05318.63
5.4.370.0200.04018.47
5.4.360.0100.03718.70
5.4.350.0270.03018.55
5.4.340.0130.04018.47
5.4.320.0130.04318.61
5.4.310.0170.04018.64
5.4.300.0130.04018.54
5.4.290.0030.04718.64
5.4.280.0030.04318.50
5.4.270.0070.04018.79
5.4.260.0070.04018.63
5.4.250.0070.04318.39
5.4.240.0070.04018.52
5.4.230.0170.03718.54
5.4.220.0030.04318.59
5.4.210.0170.03718.72
5.4.200.0100.03016.54
5.4.190.0100.04018.63
5.4.180.0000.04318.71
5.4.170.0030.04718.59
5.4.160.0170.03018.60
5.4.150.0030.04018.71
5.4.140.0030.04316.29
5.4.130.0030.03716.33
5.4.120.0100.04016.27
5.4.110.0070.03716.24
5.4.100.0070.04016.26
5.4.90.0030.04016.43
5.4.80.0030.04016.41
5.4.70.0070.03716.40
5.4.60.0000.04316.29
5.4.50.0070.03716.14
5.4.40.0100.04316.41
5.4.30.0030.04016.40
5.4.20.0030.04716.14
5.4.10.0170.04016.39
5.4.00.0070.05015.63
5.3.290.0130.05314.61
5.3.280.0070.04714.57
5.3.270.0100.04014.67
5.3.260.0030.04314.67
5.3.250.0070.03714.73
5.3.240.0030.04014.65
5.3.230.0070.04714.61
5.3.220.0100.03314.51
5.3.210.0070.04014.70
5.3.200.0200.04314.68
5.3.190.0130.04014.70
5.3.180.0200.03014.61
5.3.170.0130.04314.69
5.3.160.0200.03014.59
5.3.150.0100.04314.62
5.3.140.0230.02714.73
5.3.130.0030.04714.53
5.3.120.0100.04014.72
5.3.110.0070.04314.47
5.3.100.0070.03714.02
5.3.90.0100.03314.00
5.3.80.0030.04014.00
5.3.70.0030.04014.09
5.3.60.0100.03314.13
5.3.50.0100.03713.94
5.3.40.0070.04013.94
5.3.30.0030.04013.89
5.3.20.0070.03313.64
5.3.10.0130.03713.56
5.3.00.0170.03313.75
5.2.170.0100.03311.07
5.2.160.0000.03311.10
5.2.150.0000.03711.17
5.2.140.0030.03311.21
5.2.130.0030.03011.06
5.2.120.0130.02711.05
5.2.110.0100.03311.04
5.2.100.0170.02311.13
5.2.90.0270.01311.05
5.2.80.0030.03311.16
5.2.70.0100.03011.04
5.2.60.0070.03010.97
5.2.50.0000.03711.09
5.2.40.0100.03310.92
5.2.30.0070.03311.10
5.2.20.0070.02710.90
5.2.10.0030.03010.98
5.2.00.0100.03310.75
5.1.60.0030.0239.97
5.1.50.0100.02010.02
5.1.40.0000.0409.89
5.1.30.0100.03310.44
5.1.20.0070.03710.44
5.1.10.0030.03010.00
5.1.00.0100.03010.00
5.0.50.0030.0238.62
5.0.40.0070.0208.34
5.0.30.0030.0338.18
5.0.20.0030.0238.14
5.0.10.0030.0238.13
5.0.00.0000.0338.33
4.4.90.0030.0175.90
4.4.80.0030.0175.84
4.4.70.0030.0175.86
4.4.60.0070.0135.82
4.4.50.0030.0205.86
4.4.40.0000.0335.82
4.4.30.0000.0205.92
4.4.20.0030.0206.05
4.4.10.0000.0235.88
4.4.00.0070.0235.89
4.3.110.0070.0135.79
4.3.100.0030.0175.84
4.3.90.0100.0105.75
4.3.80.0000.0275.75
4.3.70.0000.0205.73
4.3.60.0070.0105.72
4.3.50.0070.0175.77
4.3.40.0030.0275.87
4.3.30.0000.0174.63
4.3.20.0030.0134.49
4.3.10.0000.0174.44
4.3.00.0130.02314.98

preferences:
33.85 ms | 403 KiB | 5 Q