3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( array( 'id' => 1, 'automobile' => 'Mustang', 'coloroptions' => [{"color":"red"},{"color":"blue"},{"color":"green"}] ), ); print_r($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)
5.6.150.0100.07718.23
5.6.140.0030.05018.25
5.6.130.0130.06018.19
5.6.120.0200.05021.12
5.6.110.0030.08321.01
5.6.100.0030.04020.97
5.6.90.0030.08721.07
5.6.80.0030.06020.37
5.5.300.0200.07017.95
5.5.290.0170.05317.98
5.5.280.0100.08020.89
5.5.270.0000.04320.95
5.5.260.0000.08020.86
5.5.250.0100.03320.68
5.5.240.0170.07020.06

preferences:
139.59 ms | 1394 KiB | 7 Q