3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = [ [1,2,3] => 'bar' ]; var_dump($foo);

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.3.00.0620.00714.53
7.2.130.0440.00314.36
7.2.120.0420.01014.71
7.2.110.0400.01014.62
7.2.100.0260.00614.54
7.2.90.0350.00314.73
7.2.80.0220.00914.46
7.2.70.0220.00614.68
7.2.60.0350.00614.58
7.2.50.0350.01014.93
7.2.40.0430.00914.77
7.2.30.0420.01014.96
7.2.20.0420.01014.84
7.2.10.0400.01014.47
7.2.00.0400.01014.80
7.1.250.0280.00713.79
7.0.330.0470.00313.22
5.6.380.0040.01014.00

preferences:
136.95 ms | 1158 KiB | 7 Q