3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=array('1','2',3','x',5); var_dump(array_map('intval', $x);

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.09320.20
5.6.160.0130.05720.47
5.6.150.0100.08018.27
5.6.140.0070.03718.29
5.6.130.0100.05318.18
5.6.120.0030.05321.05
5.6.110.0170.07320.89
5.6.100.0100.08021.08
5.6.90.0100.04320.98
5.6.80.0070.05320.41
5.5.300.0170.07018.01
5.5.290.0070.04018.08
5.5.280.0100.08320.87
5.5.270.0100.08020.64
5.5.260.0100.08020.84
5.5.250.0170.07320.61
5.5.240.0230.07320.04

preferences:
129.59 ms | 1398 KiB | 7 Q