3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp1=tempnam("/tmp", "prvieval"); $tmp2=tempnam("/tmp", "drugieval"); $tmp3=tempnam("/tmp","trecieval"); $cntnt="ZWNobyAnYSc7"; $bb64="base64_decode"; file_put_contents($tmp1, '<?php file_put_contents("' . $tmp2 . '", \'<?php file_put_contents("' . $tmp3 . '","<?php \' . $bb64 . '(\"'.$cntnt.'\") . \';");\' ); ' ); echo file_get_contents($tmp1); echo "-----"; include($tmp1); #include($tmp2); #include($tmp3);

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.0270.04320.23
7.0.10.0070.04020.16
7.0.00.0000.04720.11
5.6.170.0230.07020.55
5.6.160.0070.08720.39
5.6.150.0070.08018.18
5.6.140.0000.05718.23
5.6.130.0100.05718.15
5.6.120.0070.05321.02
5.6.110.0030.06321.00
5.6.100.0000.09321.13
5.6.90.0030.09020.96
5.6.80.0100.07320.33
5.5.310.0200.04320.51
5.5.300.0070.07718.03
5.5.290.0100.06717.98
5.5.280.0230.07320.87
5.5.270.0130.07720.67
5.5.260.0130.07720.81
5.5.250.0130.06020.59
5.5.240.0170.08320.26

preferences:
137.5 ms | 1394 KiB | 7 Q