3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = array(); var_dump(return $foo['bla'] = array('test' => 'ok'));

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.20.0300.08020.09
7.0.10.0100.04020.09
7.0.00.0030.08720.07
5.6.170.0200.04020.56
5.6.160.0030.04320.43
5.6.150.0030.06318.16
5.6.140.0030.07318.16
5.6.130.0070.08718.29
5.6.120.0070.05320.96
5.6.110.0100.06021.09
5.6.100.0100.07321.08
5.6.90.0070.06021.01
5.6.80.0070.08320.36
5.5.310.0170.04020.19
5.5.300.0070.04318.03
5.5.290.0130.08018.07
5.5.280.0070.08720.64
5.5.270.0070.06020.96
5.5.260.0100.08320.79
5.5.250.0130.08720.46
5.5.240.0030.03020.25

preferences:
140.99 ms | 1394 KiB | 7 Q