3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Hello world!"; echo chunk_split($str,6”...”); ?>

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.10.0100.08320.09
7.0.00.0070.09020.15
5.6.160.0000.04720.57
5.6.150.0100.08018.19
5.6.140.0070.05318.17
5.6.130.0070.08018.34
5.6.120.0130.03720.97
5.6.110.0100.08020.98
5.6.100.0100.06721.02
5.6.90.0070.06721.09
5.6.80.0030.06720.36
5.5.300.0100.07718.00
5.5.290.0070.08317.98
5.5.280.0000.06720.68
5.5.270.0100.08320.86
5.5.260.0100.04320.63
5.5.250.0000.07720.46
5.5.240.0070.04020.35

preferences:
140.62 ms | 1394 KiB | 7 Q