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.0070.05020.09
5.6.160.0070.07320.54
5.6.150.0030.04018.19
5.6.140.0170.07318.23
5.6.130.0030.05018.14
5.6.120.0000.04320.97
5.6.110.0130.07020.95
5.6.100.0000.05320.88
5.6.90.0130.08020.97
5.6.80.0130.06020.40
5.5.300.0130.05318.00
5.5.290.0070.04318.01
5.5.280.0130.06720.89
5.5.270.0130.08020.87
5.5.260.0030.08020.79
5.5.250.0170.06020.70
5.5.240.4030.03320.27

preferences:
135.1 ms | 1394 KiB | 7 Q