3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foobar { private $bar = "blah</br>\n"; public foo() { echo $this->$bar; } } foobar::foo(); $f = new foobar(); $f->foo();

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.190.0160.05212.37
5.4.180.0130.04312.38
5.4.170.0130.04012.38
5.4.160.0120.04312.38
5.4.150.0140.03712.37
5.4.140.0100.04512.06
5.4.130.0100.04212.04
5.4.120.0120.04112.01
5.4.110.0220.06312.01
5.4.100.0190.04912.01
5.4.90.0120.04012.00
5.4.80.0120.04012.01
5.4.70.0130.04112.00
5.4.60.0130.04412.00
5.4.50.0100.04212.00
5.4.40.0110.05411.99
5.4.30.0120.03811.98
5.4.20.0100.03911.98
5.4.10.0110.03811.99
5.4.00.0150.04911.48
5.3.270.0140.03912.72
5.3.260.0130.04512.72
5.3.250.0120.05612.72
5.3.240.0160.05412.72
5.3.230.0150.03912.71
5.3.220.0130.04112.68
5.3.210.0120.04212.68
5.3.200.0140.03812.68
5.3.190.0140.05412.68
5.3.180.0110.03912.68
5.3.170.0130.03812.67
5.3.160.0130.03812.67
5.3.150.0120.05412.67
5.3.140.0100.04912.66
5.3.130.0120.04212.66
5.3.120.0120.04312.66
5.3.110.0120.03912.66
5.3.100.0190.06412.12
5.3.90.0090.04212.09
5.3.80.0140.03812.08
5.3.70.0100.04112.08
5.3.60.0140.03812.06
5.3.50.0090.04212.01
5.3.40.0140.03812.01
5.3.30.0120.03811.97
5.3.20.0120.03811.75
5.3.10.0120.03611.70
5.3.00.0200.06111.69

preferences:
138.01 ms | 1394 KiB | 7 Q