3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array("\\","hi"); $file = fopen("php://temp","w+"); fputcsv($file, $data; rewind($file); $result = fgetcsv($file); var_dump($result);

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.00.0030.09020.06
5.6.160.0100.04020.54
5.6.150.0100.04318.16
5.6.140.0100.07018.25
5.6.130.0100.07318.25
5.6.120.0100.03721.04
5.6.110.0100.06720.88
5.6.100.0030.08021.08
5.6.90.0100.06321.00
5.6.80.0130.07320.38
5.5.300.0070.07717.96
5.5.290.0100.07317.93
5.5.280.0070.08320.96
5.5.270.0070.04020.75
5.5.260.0070.05320.84
5.5.250.0130.08020.57
5.5.240.4100.03720.23

preferences:
140.86 ms | 1394 KiB | 7 Q