3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $vard="Jonas"; $var=sprintf("mokinys %s", $vard); Echo $var;

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.06020.10
7.0.10.0100.05320.08
7.0.00.0070.08720.09
5.6.170.0300.07720.46
5.6.160.0100.08320.59
5.6.150.0100.05318.22
5.6.140.0100.03718.11
5.6.130.0100.04318.19
5.6.120.0100.08020.99
5.6.110.0030.08321.13
5.6.100.0030.04021.12
5.6.90.0130.03020.87
5.6.80.0100.08020.36
5.5.310.0130.05020.34
5.5.300.0130.06718.03
5.5.290.0100.05317.95
5.5.280.0100.06320.84
5.5.270.0070.04720.75
5.5.260.0070.08320.67
5.5.250.0130.03320.67
5.5.240.0200.02320.18

preferences:
139.47 ms | 1394 KiB | 7 Q