3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { private $blah =''; private __construct($blah) { $this->blah = $blah; } public getBlah() { return $this->blah; } } $baz = new foo('hello'); var_dump($baz->getBlah());

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.290.0100.03812.50
5.4.280.0100.03312.40
5.4.270.0070.04012.40
5.4.260.0050.04612.40
5.4.250.0030.04012.40
5.4.240.0060.03512.40
5.4.230.0040.03912.39
5.4.220.0070.03912.39
5.4.210.0060.03712.39
5.4.200.0060.04212.39
5.4.190.0080.03812.39
5.4.180.0130.03412.39
5.4.170.0070.03412.39
5.4.160.0090.04512.39
5.4.150.0040.04212.39
5.4.140.0030.05712.08
5.4.130.0100.04912.06
5.4.120.0070.05412.02
5.4.110.0130.05812.02
5.4.100.0120.04512.02
5.4.90.0060.04312.02
5.4.80.0070.05412.02
5.4.70.0070.05012.02
5.4.60.0050.03712.02
5.4.50.0070.05112.02
5.4.40.0030.04412.01
5.4.30.0060.03712.01
5.4.20.0070.05112.00
5.4.10.0100.07012.00
5.4.00.0080.05011.50
5.3.280.0110.04912.71
5.3.270.0100.05312.72
5.3.260.0040.04712.72
5.3.250.0060.03912.72
5.3.240.0060.04312.72
5.3.230.0060.05412.71
5.3.220.0040.04212.68
5.3.210.0120.04212.68
5.3.200.0100.04612.68
5.3.190.0080.04112.68
5.3.180.0050.03912.68
5.3.170.0070.03912.67
5.3.160.0090.03712.67
5.3.150.0080.04512.67
5.3.140.0140.05512.66
5.3.130.0080.06312.65
5.3.120.0110.05112.65
5.3.110.0030.06312.66
5.3.100.0050.05312.11
5.3.90.0100.04012.10
5.3.80.0070.05012.09
5.3.70.0100.04812.09
5.3.60.0080.04912.08
5.3.50.0040.05412.02
5.3.40.0090.04012.02
5.3.30.0090.03711.98
5.3.20.0060.03611.77
5.3.10.0100.03711.73
5.3.00.0050.03811.71

preferences:
141.68 ms | 1386 KiB | 7 Q