3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $stream = fopen('php://memory','r+'); fwrite($stream, '1981,2992,19191,392,488,299'); rewind($stream); $array = fgetcsv($stream); var_dump($array);

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.0030.05320.05
7.0.00.0030.09320.10
5.6.160.0130.08720.59
5.6.150.0070.07318.15
5.6.140.0030.03718.21
5.6.130.0030.07018.25
5.6.120.0070.04321.01
5.6.110.0100.07721.14
5.6.100.0270.07021.07
5.6.90.0070.06721.13
5.6.80.0070.07720.37
5.5.300.0070.07317.99
5.5.290.0130.03018.05
5.5.280.0070.05020.96
5.5.270.0030.09020.64
5.5.260.0030.08720.72
5.5.250.0030.06020.49
5.5.240.0130.04020.34

preferences:
136.97 ms | 1398 KiB | 7 Q