3v4l.org

run code in 300+ PHP versions simultaneously
<?php class B{ static $bobo; } class A{ function __construct($a, $b, $c){ $this->a = $a; $this->b = $b; $this->c = $c; } function __destruct(){ B::$bobo = $this; } } $x = new A(10,20,30); var_dump($x); unset($x); var_dump(B::$bobo);

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.0190.00416.72
8.3.50.0150.01221.97
8.3.40.0110.00718.71
8.3.30.0110.00418.96
8.3.20.0080.00020.31
8.3.10.0080.00023.50
8.3.00.0090.00619.66
8.2.180.0120.00618.31
8.2.170.0120.00322.96
8.2.160.0100.01020.39
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0110.00019.34
8.2.120.0080.00026.35
8.2.110.0060.00320.88
8.2.100.0120.00017.84
8.2.90.0090.00017.88
8.2.80.0060.00318.07
8.2.70.0060.00617.38
8.2.60.0000.00818.02
8.2.50.0000.00818.07
8.2.40.0030.00622.16
8.2.30.0030.00720.63
8.2.20.0050.00317.55
8.2.10.0070.00018.07
8.2.00.0060.00317.99
8.1.280.0120.00425.92
8.1.270.0080.00020.38
8.1.260.0060.00328.09
8.1.250.0040.00428.09
8.1.240.0040.00423.92
8.1.230.0000.01220.87
8.1.220.0060.00317.74
8.1.210.0060.00318.83
8.1.200.0000.01017.35
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0060.00318.48
8.1.160.0040.00420.76
8.1.150.0000.00818.75
8.1.140.0080.00019.45
8.1.130.0000.00717.65
8.1.120.0040.00417.45
8.1.110.0040.00417.44
8.1.100.0040.00417.29
8.1.90.0090.00017.44
8.1.80.0060.00317.39
8.1.70.0030.00317.36
8.1.60.0000.00917.59
8.1.50.0080.00017.52
8.1.40.0050.00317.52
8.1.30.0000.00917.56
8.1.20.0040.00417.67
8.1.10.0040.00417.47
8.1.00.0040.00417.41
8.0.300.0000.00819.98
8.0.290.0060.00316.75
8.0.280.0030.00318.40
8.0.270.0000.00717.25
8.0.260.0030.00317.21
8.0.250.0000.00716.90
8.0.240.0000.00716.88
8.0.230.0030.00316.94
8.0.220.0000.00816.82
8.0.210.0030.00316.83
8.0.200.0040.00416.90
8.0.190.0100.00016.90
8.0.180.0050.00316.77
8.0.170.0000.00716.82
8.0.160.0040.00416.89
8.0.150.0080.00016.91
8.0.140.0030.00716.79
8.0.130.0000.00613.25
8.0.120.0030.00616.72
8.0.110.0030.00516.76
8.0.100.0030.00516.86
8.0.90.0000.00716.63
8.0.80.0140.00016.83
8.0.70.0000.00716.67
8.0.60.0050.00316.67
8.0.50.0000.00716.74
8.0.30.0120.00516.92
8.0.20.0130.00917.40
8.0.10.0030.00516.84
8.0.00.0110.00616.58
7.4.330.0020.00216.67
7.4.320.0060.00016.47
7.4.300.0000.00716.38
7.4.290.0000.00716.52
7.4.280.0000.00816.51
7.4.270.0000.00616.57
7.4.260.0040.00416.54
7.4.250.0040.00416.47
7.4.240.0040.00316.55
7.4.230.0030.00316.28
7.4.220.0150.00616.57
7.4.210.0170.00316.55
7.4.200.0030.00316.41
7.4.160.0080.00816.48
7.4.150.0030.01617.40
7.4.140.0070.01717.86
7.4.130.0110.00616.45
7.4.120.0110.00616.63
7.4.110.0140.00416.49
7.4.100.0100.00716.47
7.4.90.0100.01316.45
7.4.80.0060.01619.39
7.4.70.0120.00416.40
7.4.60.0060.01116.22
7.4.50.0060.00916.37
7.4.40.0080.01216.44
7.4.30.0060.01516.38
7.4.00.0070.01115.02
7.3.330.0060.00013.33
7.3.320.0030.00313.25
7.3.310.0070.00016.31
7.3.300.0030.00316.32
7.3.290.0050.01016.28
7.3.280.0080.00916.33
7.3.270.0150.00417.40
7.3.260.0080.00816.31
7.3.250.0090.01116.43
7.3.240.0050.01116.55
7.3.230.0170.00016.58
7.3.210.0110.01116.32
7.3.200.0150.00416.57
7.3.190.0060.01116.55
7.3.180.0090.00616.52
7.3.170.0120.00916.60
7.3.160.0140.00316.37
7.3.120.0060.00914.69
7.3.110.0000.01214.93
7.3.100.0030.01215.04
7.3.90.0030.00915.02
7.3.80.0070.01114.88
7.3.70.0060.00914.68
7.3.60.0130.00314.79
7.3.50.0110.00714.77
7.3.40.0080.00815.01
7.3.30.0070.01114.89
7.3.20.0000.01516.73
7.3.10.0070.00316.71
7.3.00.0000.01116.66
7.2.330.0100.01016.73
7.2.320.0130.00416.72
7.2.310.0080.00816.82
7.2.300.0060.01116.74
7.2.290.0060.00916.65
7.2.240.0120.00614.95
7.2.230.0070.00715.21
7.2.220.0060.00914.90
7.2.210.0040.01114.90
7.2.200.0110.00414.88
7.2.190.0040.01415.00
7.2.180.0030.01415.07
7.2.170.0110.00315.05
7.2.160.0040.01114.94
7.2.150.0040.01416.71
7.2.140.0120.00416.84
7.2.130.0060.00916.95
7.2.120.0080.00416.67
7.2.110.0030.01417.01
7.2.100.0110.00316.77
7.2.90.0030.01316.98
7.2.80.0060.00916.92
7.2.70.0030.00916.96
7.2.60.0080.00816.85
7.2.50.0060.00916.49
7.2.40.0030.00917.00
7.2.30.0100.00716.72
7.2.20.0060.01016.52
7.2.10.0130.00316.95
7.2.00.0070.00518.22
7.1.330.0100.00315.82
7.1.320.0070.00715.70
7.1.310.0120.00415.96
7.1.300.0030.01015.74
7.1.290.0080.00315.79
7.1.280.0060.00815.81
7.1.270.0080.00615.59
7.1.260.0070.00715.82
7.1.250.0090.00615.62
7.1.200.0040.00415.56
7.1.100.0070.01018.10
7.1.70.0060.00617.21
7.1.60.0100.01419.52
7.1.50.0200.01734.83
7.1.00.0100.07022.45
7.0.200.0310.00316.26
7.0.100.0130.07719.97
7.0.90.0330.06720.02
7.0.80.0070.08720.13
7.0.70.0400.09319.96
7.0.60.0200.05319.95
7.0.50.0070.04020.35
7.0.40.0070.04020.15
7.0.30.0030.04320.12
7.0.20.0070.04020.14
7.0.10.0000.04319.95
7.0.00.0070.04020.14
5.6.250.0170.06720.48
5.6.240.0100.07320.59
5.6.230.0170.06720.70
5.6.220.0070.05720.62
5.6.210.0030.09020.50
5.6.200.0000.07321.10
5.6.190.0030.04321.01
5.6.180.0030.04320.96
5.6.170.0030.04320.93
5.6.160.0000.04321.18
5.6.150.0130.03720.91
5.6.140.0130.03021.08
5.6.130.0030.04321.11
5.6.120.0070.05321.02
5.6.110.0070.04021.03
5.6.100.0000.08321.00
5.6.90.0070.04020.90
5.6.80.0070.03720.41
5.6.70.0000.07320.43
5.6.60.0030.04020.40
5.6.50.0000.04720.46
5.6.40.0070.03320.37
5.6.30.0100.03320.45
5.6.20.0030.04320.52
5.6.10.0030.04020.44
5.6.00.0130.02720.35
5.5.380.0270.06020.40
5.5.370.0070.06020.55
5.5.360.0200.06720.45
5.5.350.0100.04720.48
5.5.340.0100.03320.87
5.5.330.0000.04320.78
5.5.320.0100.03320.88
5.5.310.0070.04020.72
5.5.300.0000.04720.83
5.5.290.0030.06020.84
5.5.280.0030.05320.90
5.5.270.0070.08720.90
5.5.260.0070.07320.82
5.5.250.0070.04020.71
5.5.240.0030.03720.26
5.5.230.0070.04020.27
5.5.220.0070.03720.11
5.5.210.0030.06720.30
5.5.200.0000.04020.16
5.5.190.0030.04020.18
5.5.180.0030.04020.14
5.5.160.0030.04020.15
5.5.150.0070.04320.24
5.5.140.0100.03320.15
5.5.130.0070.03720.22
5.5.120.0030.04320.27
5.5.110.0070.04720.15
5.5.100.0070.03720.08
5.5.90.0070.04320.07
5.5.80.0000.04019.95
5.5.70.0070.03720.00
5.5.60.0000.04020.06
5.5.50.0030.04720.06
5.5.40.0030.03320.05
5.5.30.0070.03320.00
5.5.20.0100.03320.14
5.5.10.0070.03720.04
5.5.00.0070.03719.97

preferences:
57.16 ms | 401 KiB | 5 Q