3v4l.org

run code in 300+ PHP versions simultaneously
<?php print(function(){ print('test'); $i=0; $i++; $i+=$i*3; print ($i); return 'tets' });

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)
5.6.150.0070.06318.16
5.6.140.0030.06018.16
5.6.130.0100.05318.19
5.6.120.0130.06021.15
5.6.110.0070.05721.14
5.6.100.0070.05021.00
5.6.90.0100.04321.10
5.6.80.0170.07020.38
5.5.300.0100.07717.98
5.5.290.0170.08017.98
5.5.280.0200.07020.80
5.5.270.0030.04020.73
5.5.260.0100.08020.73
5.5.250.0000.05320.67
5.5.240.0170.04720.07

preferences:
143.05 ms | 1394 KiB | 7 Q