3v4l.org

run code in 300+ PHP versions simultaneously
<?php class B{ static $bobo; } class A{ function __destruct(){ debug_zval_dump($this); B::$bobo = $this; debug_zval_dump($this); } } $x = new A; debug_zval_dump($x); unset($x);

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.0100.01016.63
8.3.50.0190.00318.16
8.3.40.0140.00318.81
8.3.30.0140.00018.59
8.3.20.0070.00020.24
8.3.10.0040.00423.37
8.3.00.0050.00219.97
8.2.180.0040.01518.54
8.2.170.0090.00622.96
8.2.160.0030.01020.22
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0030.00619.24
8.2.120.0000.00826.35
8.2.110.0030.00719.39
8.2.100.0110.00017.93
8.2.90.0040.00419.16
8.2.80.0050.00318.04
8.2.70.0090.00017.50
8.2.60.0070.00418.03
8.2.50.0000.00818.07
8.2.40.0090.00022.32
8.2.30.0060.00320.52
8.2.20.0040.00417.63
8.2.10.0000.00718.04
8.2.00.0000.00717.98
8.1.280.0150.00025.92
8.1.270.0040.00420.33
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0070.00323.97
8.1.230.0110.00019.01
8.1.220.0050.00317.74
8.1.210.0090.00018.77
8.1.200.0060.00317.35
8.1.190.0080.00017.35
8.1.180.0060.00318.10
8.1.170.0070.00318.32
8.1.160.0040.00420.70
8.1.150.0000.00718.82
8.1.140.0000.00819.56
8.1.130.0030.00317.70
8.1.120.0000.00817.28
8.1.110.0000.00817.38
8.1.100.0040.00417.35
8.1.90.0060.00317.43
8.1.80.0000.00817.42
8.1.70.0040.00417.35
8.1.60.0000.00717.46
8.1.50.0040.00417.51
8.1.40.0000.00717.34
8.1.30.0030.00617.47
8.1.20.0070.00017.63
8.1.10.0040.00417.39
8.1.00.0030.00617.36
8.0.300.0080.00018.77
8.0.290.0000.00816.63
8.0.280.0030.00318.45
8.0.270.0030.00317.18
8.0.260.0030.00317.23
8.0.250.0030.00316.84
8.0.240.0000.00716.77
8.0.230.0030.00316.94
8.0.220.0040.00416.82
8.0.210.0030.00316.70
8.0.200.0030.00316.90
8.0.190.0060.00316.83
8.0.180.0070.00016.74
8.0.170.0000.00816.91
8.0.160.0000.00716.87
8.0.150.0000.00716.78
8.0.140.0070.00516.66
8.0.130.0030.00313.29
8.0.120.0000.00716.81
8.0.110.0040.00416.75
8.0.100.0080.00016.86
8.0.90.0070.00016.73
8.0.80.0040.01116.81
8.0.70.0050.00316.89
8.0.60.0000.00716.78
8.0.50.0040.00416.88
8.0.30.0110.00417.34
8.0.20.0140.01017.40
8.0.10.0050.00316.74
8.0.00.0090.00916.59
7.4.330.0000.00616.70
7.4.320.0000.00616.42
7.4.300.0000.00616.48
7.4.290.0000.00716.57
7.4.280.0060.00316.58
7.4.270.0000.00716.48
7.4.260.0000.00716.57
7.4.250.0040.00416.56
7.4.240.0000.00716.43
7.4.230.0030.00316.61
7.4.220.0120.00616.52
7.4.210.0040.01116.69
7.4.200.0070.00016.34
7.4.160.0120.00316.53
7.4.150.0160.01117.40
7.4.140.0110.01217.86
7.4.130.0120.00516.67
7.4.120.0070.01016.46
7.4.110.0090.01216.58
7.4.100.0070.01016.62
7.4.90.0080.00816.44
7.4.80.0060.01019.39
7.4.70.0100.01316.47
7.4.60.0100.00616.45
7.4.50.0100.00316.45
7.4.40.0060.01116.35
7.4.30.0100.01016.45
7.4.00.0100.00714.94
7.3.330.0030.00313.14
7.3.320.0050.00013.23
7.3.310.0000.00716.20
7.3.300.0030.00316.38
7.3.290.0060.00816.25
7.3.280.0050.01116.31
7.3.270.0230.02017.40
7.3.260.0070.01016.50
7.3.250.0090.00916.44
7.3.240.0070.01316.41
7.3.230.0090.00916.39
7.3.210.0100.01016.51
7.3.200.0100.00716.23
7.3.190.0000.01616.39
7.3.180.0100.00716.55
7.3.170.0110.01116.52
7.3.160.0040.01316.21
7.3.10.0030.01016.44
7.3.00.0000.01316.57
7.2.330.0090.00916.51
7.2.320.0060.01116.69
7.2.310.0060.00916.73
7.2.300.0070.01016.39
7.2.290.0030.01316.50
7.2.130.0030.00916.46
7.2.120.0030.00716.27
7.2.110.0070.00316.62
7.2.100.0070.00716.52
7.2.90.0060.00616.67
7.2.80.0000.01316.57
7.2.70.0100.00616.25
7.2.60.0100.00616.54
7.2.50.0120.00316.42
7.2.40.0090.00316.80
7.2.30.0030.00916.75
7.2.20.0130.00316.98
7.2.10.0070.00316.70
7.2.00.0060.00718.15
7.1.250.0060.00615.72
7.1.200.0000.01415.88
7.1.100.0160.01117.77
7.1.70.0000.00917.16
7.1.60.0140.01019.52
7.1.50.0060.01616.96
7.1.00.0100.07022.36
7.0.200.0300.00616.27
7.0.60.0070.07319.78
7.0.50.0030.04017.82
7.0.40.0070.07020.04
7.0.30.0300.06720.33
7.0.20.0230.04020.19
7.0.10.0100.03720.24
7.0.00.0070.09020.22
5.6.280.0030.03021.13
5.6.210.0100.08320.54
5.6.200.0030.08318.29
5.6.190.0170.07720.48
5.6.180.0230.05320.35
5.6.170.0370.06720.47
5.6.160.0100.03720.61
5.6.150.0130.07718.28
5.6.140.0070.04718.15
5.6.130.0000.04318.20
5.6.120.0100.05020.97
5.6.110.0200.08020.98
5.6.100.0070.07720.98
5.6.90.0000.04321.02
5.6.80.0170.03720.37
5.5.350.0300.06020.41
5.5.340.0100.03317.93
5.5.330.0030.04720.31
5.5.320.0800.04020.27
5.5.310.0200.08020.27
5.5.300.0100.08017.94
5.5.290.0170.06718.01
5.5.280.0000.05320.65
5.5.270.0070.06720.73
5.5.260.0170.07320.86
5.5.250.0070.08320.62
5.5.240.2800.02320.19

preferences:
49.41 ms | 400 KiB | 5 Q