3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{ protected $invokables; protected $some; protected function __construct($some, $invokables){ $this->some = $some; $this->invokables = $invokables; } } $t = new test(); var_dump($t)

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)
5.4.280.0070.06512.38
5.4.270.0130.05512.37
5.4.260.0160.05812.38
5.4.250.0050.07012.38
5.4.240.0090.06612.38
5.4.230.0110.06312.37
5.4.220.0070.05012.37
5.4.210.0070.05412.37
5.4.200.0090.05412.36
5.4.190.0170.04512.36
5.4.180.0070.05512.36
5.4.170.0080.05412.38
5.4.160.0130.04612.37
5.4.150.0100.04812.37
5.4.140.0120.04912.05
5.4.130.0100.04712.04
5.4.120.0110.04912.00
5.4.110.0110.05012.00
5.4.100.0080.05111.99
5.4.90.0070.04211.99
5.4.80.0060.05611.99
5.4.70.0060.05411.99
5.4.60.0030.04911.99
5.4.50.0060.03911.99
5.4.40.0050.05011.98
5.4.30.0080.04711.98
5.4.20.0080.03611.97
5.4.10.0090.05211.98
5.4.00.0040.05211.46
5.3.280.0090.05012.70
5.3.270.0110.05212.72
5.3.260.0110.05112.72
5.3.250.0130.04912.71
5.3.240.0090.05212.72
5.3.230.0070.05212.71
5.3.220.0090.05012.68
5.3.210.0080.05312.68
5.3.200.0070.05212.68
5.3.190.0120.04612.67
5.3.180.0120.05212.68
5.3.170.0080.05512.67
5.3.160.0120.05312.67
5.3.150.0080.06112.68
5.3.140.0150.06012.66
5.3.130.0070.05712.66
5.3.120.0120.06212.66
5.3.110.0060.04412.66
5.3.100.0070.03712.12
5.3.90.0050.04012.08
5.3.80.0080.03812.07
5.3.70.0070.04912.08
5.3.60.0070.04512.07
5.3.50.0070.03712.00
5.3.40.0050.08312.00
5.3.30.0130.06211.96
5.3.20.0070.08211.74
5.3.10.0110.07011.70
5.3.00.0060.05811.70
5.2.170.0090.0569.19
5.2.160.0160.1199.19
5.2.150.0110.0769.18
5.2.140.0140.0769.18
5.2.130.0210.0669.14
5.2.120.0090.0429.14
5.2.110.0100.0449.15
5.2.100.0260.0699.15
5.2.90.0090.0649.15
5.2.80.0120.0599.14
5.2.70.0050.0759.14
5.2.60.0080.0759.09
5.2.50.0180.0739.07
5.2.40.0190.0609.04
5.2.30.0080.0439.02
5.2.20.0080.0449.00
5.2.10.0110.0688.91
5.2.00.0170.0808.79
5.1.60.0060.0328.07
5.1.50.0090.0318.06
5.1.40.0060.0338.05
5.1.30.0110.0538.39
5.1.20.0060.0508.42
5.1.10.0050.0338.14
5.1.00.0050.0358.15
5.0.50.0110.0376.62
5.0.40.0050.0466.48
5.0.30.0080.0606.29
5.0.20.0050.0506.25
5.0.10.0030.0276.24
5.0.00.0100.0696.23
4.4.90.0140.0474.77
4.4.80.0130.0374.75
4.4.70.0090.0394.75
4.4.60.0070.0384.76
4.4.50.0040.0404.77
4.4.40.0020.0484.71
4.4.30.0050.0394.76
4.4.20.0090.0284.84
4.4.10.0090.0504.85
4.4.00.0070.0564.76
4.3.110.0090.0404.67
4.3.100.0030.0234.66
4.3.90.0040.0214.63
4.3.80.0030.0324.59
4.3.70.0140.0464.63
4.3.60.0050.0384.62
4.3.50.0070.0434.63
4.3.40.0060.0954.54
4.3.30.0060.0213.29
4.3.20.0050.0253.26
4.3.10.0010.0173.23
4.3.00.0030.02013.64

preferences:
140.93 ms | 1394 KiB | 7 Q