3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=array(2=>"14"); $b=&($a[2]['foo']); var_dump($a);

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.0130.07720.09
5.6.160.0100.05320.39
5.6.150.0100.08318.19
5.6.140.0070.06318.28
5.6.130.0030.04318.15
5.6.120.0100.07721.03
5.6.110.0130.06020.95
5.6.100.0000.08021.02
5.6.90.0170.06721.11
5.6.80.0070.05320.37
5.5.300.0070.05318.03
5.5.290.0130.05017.98
5.5.280.0070.05320.80
5.5.270.0170.06720.75
5.5.260.0070.08320.75
5.5.250.0070.03720.60
5.5.240.0370.06720.26

preferences:
136.49 ms | 1398 KiB | 7 Q