3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Hoge { private $v; public function __construct($val) { $this->v = $val; } public function hoge() { self::fuga(); } public function fuga() { var_dump($this->v); } } $h = new Hoge('VALUUUUUUE'); $h->hoge();

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.0150.00616.63
8.3.50.0050.01322.10
8.3.40.0100.00318.63
8.3.30.0040.01118.75
8.3.20.0000.00820.25
8.3.10.0040.00420.36
8.3.00.0000.00723.70
8.2.180.0170.00016.63
8.2.170.0100.00722.96
8.2.160.0070.00719.39
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00822.25
8.2.120.0080.00026.35
8.2.110.0030.00719.02
8.2.100.0100.00317.55
8.2.90.0040.00418.99
8.2.80.0030.00517.97
8.2.70.0050.00317.50
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0050.00220.47
8.2.30.0070.00019.18
8.2.20.0030.00517.90
8.2.10.0040.00418.01
8.2.00.0000.00717.63
8.1.280.0070.01425.92
8.1.270.0060.00323.99
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0090.00023.84
8.1.230.0110.00017.77
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0100.00017.23
8.1.190.0080.00017.10
8.1.180.0000.00718.10
8.1.170.0040.00418.52
8.1.160.0030.00322.11
8.1.150.0060.00318.70
8.1.140.0030.00519.52
8.1.130.0030.00317.64
8.1.120.0040.00417.27
8.1.110.0030.00517.30
8.1.100.0040.00417.39
8.1.90.0040.00417.45
8.1.80.0080.00017.44
8.1.70.0030.00317.46
8.1.60.0000.00717.54
8.1.50.0050.00317.53
8.1.40.0030.00617.52
8.1.30.0050.00517.57
8.1.20.0030.00617.66
8.1.10.0000.00817.48
8.1.00.0040.00417.34
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00818.39
8.0.270.0000.00717.16
8.0.260.0000.00617.37
8.0.250.0070.00016.89
8.0.240.0000.00616.85
8.0.230.0000.00716.85
8.0.220.0090.00016.77
8.0.210.0000.00716.74
8.0.200.0000.00616.90
8.0.190.0000.00816.89
8.0.180.0070.00316.74
8.0.170.0040.00416.87
8.0.160.0030.00316.94
8.0.150.0000.00716.81
8.0.140.0030.00316.80
8.0.130.0060.00013.27
8.0.120.0000.00816.71
8.0.110.0000.00716.75
8.0.100.0040.00416.71
8.0.90.0050.00316.85
8.0.80.0120.01216.79
8.0.70.0030.00616.70
8.0.60.0040.00416.82
8.0.50.0040.00416.77
8.0.30.0080.01016.95
8.0.20.0140.00817.40
8.0.10.0070.00017.01
8.0.00.0140.00916.94
7.4.330.0000.00515.08
7.4.320.0000.00616.43
7.4.300.0000.00616.60
7.4.290.0000.00716.49
7.4.280.0050.00316.58
7.4.270.0030.00316.60
7.4.260.0040.00416.39
7.4.250.0000.00716.42
7.4.240.0030.00316.49
7.4.230.0030.00316.49
7.4.220.0130.00316.64
7.4.210.0050.01016.65
7.4.200.0050.00216.36
7.4.160.0090.00816.43
7.4.150.0040.01417.40
7.4.140.0080.00917.86
7.4.130.0080.01216.43
7.4.120.0100.00816.52
7.4.110.0120.00616.43
7.4.100.0090.00916.54
7.4.90.0150.00916.40
7.4.80.0070.01119.39
7.4.70.0080.00816.40
7.4.60.0070.01016.61
7.4.50.0060.00916.51
7.4.40.0090.00616.63
7.4.30.0060.01016.33
7.4.00.0000.01514.85
7.3.330.0000.00513.08
7.3.320.0050.00013.24
7.3.310.0030.00316.09
7.3.300.0030.00316.11
7.3.290.0000.00816.21
7.3.280.0090.00716.21
7.3.270.0050.01417.40
7.3.260.0110.00716.38
7.3.250.0070.01016.25
7.3.240.0080.01116.31
7.3.230.0000.01616.39
7.3.210.0080.01116.17
7.3.200.0100.01416.61
7.3.190.0120.00916.16
7.3.180.0160.00016.31
7.3.170.0130.00316.29
7.3.160.0060.01616.42
7.2.330.0150.00316.70
7.2.320.0100.01016.30
7.2.310.0070.01016.63
7.2.300.0080.00816.52
7.2.290.0130.00316.63
7.2.00.0000.01119.21
7.1.70.0000.00817.07
7.1.60.0070.00417.18
7.1.00.0030.07722.37
7.0.200.0220.00414.88
7.0.111.9200.05020.20
7.0.100.0130.07720.37
7.0.90.0130.05320.31
7.0.80.0170.05020.29
7.0.70.0070.06020.41
7.0.60.0000.06720.34
7.0.50.0370.05720.32
7.0.40.0270.05720.28
7.0.30.0470.06320.18
7.0.20.0400.05720.22
7.0.10.0370.05720.21
7.0.00.0530.04720.27
5.6.260.0030.06021.05
5.6.250.0070.06321.05
5.6.240.0100.06320.88
5.6.230.0070.06021.07
5.6.220.0230.05320.98
5.6.210.0200.06720.98
5.6.200.0100.06020.98
5.6.190.0070.06020.88
5.6.180.0200.05321.02
5.6.170.0100.06020.88
5.6.160.0170.06020.84
5.6.150.0100.06020.86
5.6.140.0170.06321.09
5.6.130.0230.05321.07
5.6.120.0130.05721.01
5.6.110.0300.04321.00
5.6.100.0100.06021.00
5.6.90.0130.05021.00
5.6.80.0130.05320.45
5.6.70.0170.05020.18
5.6.60.0100.05720.39
5.6.50.0230.04020.41
5.6.40.0100.05720.43
5.6.30.0130.05320.43
5.6.20.0170.05020.39
5.6.10.0170.04720.41
5.6.00.0170.04720.21

preferences:
33.83 ms | 401 KiB | 5 Q