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.0070.05720.12
5.6.160.0030.05320.71
5.6.150.0030.08018.15
5.6.140.0030.05718.14
5.6.130.0030.04718.21
5.6.120.0030.08721.01
5.6.110.0130.06721.13
5.6.100.0100.07720.98
5.6.90.0200.03021.12
5.6.80.0000.06320.53
5.5.300.0000.05718.07
5.5.290.0030.07717.95
5.5.280.0070.08720.87
5.5.270.0070.08320.75
5.5.260.0070.07720.83
5.5.250.0130.05320.66
5.5.240.0130.07020.25

preferences:
140.61 ms | 1394 KiB | 7 Q