3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(ticks=CONST); declare(strict_types=1); namespace Acme; class Foo {} new 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.6.150.0100.08318.14
5.6.140.0030.06318.28
5.6.130.0070.03718.25
5.6.120.0100.07721.02
5.6.110.0070.07321.11
5.6.100.0030.08721.11
5.6.90.0130.07720.96
5.6.80.0170.06720.32
5.5.300.0030.08317.95
5.5.290.0130.07717.98
5.5.280.0030.09020.88
5.5.270.0030.04020.95
5.5.260.0100.08020.76
5.5.250.0070.09020.44
5.5.240.0200.07720.24

preferences:
139.82 ms | 1394 KiB | 7 Q