3v4l.org

run code in 300+ PHP versions simultaneously
<?php function myfunction() { ?????????? print $string } myfunction("hello, world"); ?>

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)
7.0.20.0300.07020.30
7.0.10.0070.07320.20
7.0.00.0030.08720.20
5.6.160.0070.04020.60
5.6.150.0070.05718.25
5.6.140.0100.03318.20
5.6.130.0030.04018.16
5.6.120.0200.06321.03
5.6.110.0130.06020.98
5.6.100.0030.04321.12
5.6.90.0030.09020.98
5.6.80.0100.07720.47
5.5.300.0000.04317.98
5.5.290.0000.08718.08
5.5.280.0130.08020.87
5.5.270.0200.07020.77
5.5.260.0130.05320.64
5.5.250.0070.07720.69
5.5.240.0230.06720.12

preferences:
139.82 ms | 1394 KiB | 7 Q