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.0170.08020.12
7.0.00.0100.08020.12
5.6.160.0100.05020.48
5.6.150.0170.07018.19
5.6.140.0030.08318.23
5.6.130.0070.08018.11
5.6.120.0030.04320.96
5.6.110.0170.08020.98
5.6.100.0030.06020.97
5.6.90.0200.07321.12
5.6.80.0000.06320.35
5.5.300.0100.04017.96
5.5.290.0000.04317.98
5.5.280.0100.08020.68
5.5.270.0000.06020.84
5.5.260.0100.06020.86
5.5.250.0100.07020.68
5.5.240.0100.03020.25

preferences:
135.02 ms | 1394 KiB | 7 Q