3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump('z'++); for ($c = 'a'; $c <= 'z'; $c++) { echo "$c\n"; }

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.07320.08
7.0.00.0100.07320.09
5.6.160.0030.04020.39
5.6.150.0030.08018.23
5.6.140.0000.05718.18
5.6.130.0070.05718.18
5.6.120.0000.05720.98
5.6.110.0100.08721.04
5.6.100.0030.08720.98
5.6.90.0100.04021.13
5.6.80.0000.04020.28
5.5.300.0030.04017.98
5.5.290.0100.07718.08
5.5.280.0070.05020.85
5.5.270.0030.04320.64
5.5.260.0030.04320.87
5.5.250.0030.07720.63
5.5.240.0170.02320.11

preferences:
142.33 ms | 1394 KiB | 7 Q