3v4l.org

run code in 300+ PHP versions simultaneously
<?php <pre> <?php $a = array ('a' => 'apple', 'b' => 'banana', 'c' => array ('x', 'y', 'z')); print_r ($a); ?> </pre>

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.08320.12
7.0.10.0070.05720.16
7.0.00.0170.06020.12
5.6.170.0330.05020.55
5.6.160.0130.07320.54
5.6.150.0170.05018.16
5.6.140.0070.05718.18
5.6.130.0100.06318.28
5.6.120.0030.04321.05
5.6.110.0170.06320.98
5.6.100.0000.09020.93
5.6.90.0100.09021.02
5.6.80.0130.07720.44
5.5.310.0230.04720.24
5.5.300.0030.07318.08
5.5.290.0030.08317.95
5.5.280.0170.07320.76
5.5.270.0070.06720.86
5.5.260.0070.07020.88
5.5.250.0130.03020.66
5.5.240.0130.07020.04

preferences:
139.69 ms | 1394 KiB | 7 Q