3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = <<<EOL A B C D One Two Three Four 100 2000 30000 400000 EOL; $handle = tmpfile(); fwrite($handle, $input); rewind($handle); echo '<table width="400" border="1">'; while (($transArry = fgetcsv($handle, 1000, ' ', escape: ' ')) !== false) { vprintf( "\n\t<tr><td>%s %s</td><td>%s</td><td>%s</td></tr>", $transArry ); } fclose($handle); echo "\n</table>";

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)
8.5.00.0130.01020.08
8.4.150.0020.00014.05
8.4.140.0120.01117.61
8.4.130.0130.00818.02
8.4.120.0140.00623.95
8.4.110.0260.01119.16
8.4.100.0190.01017.59
8.4.90.0230.00618.57
8.4.80.0270.00717.78
8.4.70.0280.00717.78
8.4.60.0250.00717.70
8.4.50.0310.00718.59
8.4.40.0300.01117.45
8.4.30.0320.00918.52
8.4.20.0390.01117.55
8.4.10.0310.00618.33
8.3.280.0110.00918.25
8.3.270.0110.00816.84
8.3.260.0130.00616.62
8.3.250.0110.00918.42
8.3.240.0130.00716.83
8.3.230.0220.00416.44
8.3.220.0230.00616.81
8.3.210.0250.00616.51
8.3.200.0160.00417.38
8.3.190.0210.00516.83
8.3.180.0190.00517.85
8.3.170.0210.00416.71
8.3.160.0300.00716.60
8.3.150.0340.00616.27
8.3.140.0340.00816.60
8.3.130.0260.00916.57
8.3.120.0300.00816.53
8.3.110.0300.00417.22
8.3.100.0230.00816.62
8.3.90.0270.00616.39
8.3.80.0310.00917.13
8.3.70.0330.00516.64
8.3.60.0300.00516.67
8.3.50.0240.00517.06
8.3.40.0290.00717.57
8.3.30.0280.00417.61
8.3.20.0220.00818.11
8.3.10.0230.00817.67
8.3.00.0160.00917.49
8.2.290.0260.00617.86
8.2.280.0240.00817.07
8.2.270.0290.00516.54
8.2.260.0290.00816.37
8.2.250.0300.00616.35
8.2.240.0250.00616.36
8.2.230.0190.00616.96
8.2.220.0240.00616.29
8.2.210.0210.00516.79
8.2.200.0200.00616.20
8.2.190.0230.00416.31
8.2.180.0290.00516.32
8.2.170.0280.00717.38
8.2.160.0280.00817.48
8.2.150.0320.00517.31
8.2.140.0280.00417.37
8.2.130.0300.00617.34
8.2.120.0310.00617.38
8.2.110.0330.00617.30
8.2.100.0320.00417.37
8.2.90.0280.00817.42
8.2.80.0270.00717.31
8.2.70.0230.00817.38
8.2.60.0250.00417.42
8.2.50.0240.00517.87
8.2.40.0210.00917.29
8.2.30.0280.00417.25
8.2.20.0220.00417.35
8.2.10.0180.00417.29
8.2.00.0170.00718.05

preferences:
52.28 ms | 403 KiB | 5 Q