3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); function declare_assoc(&$myArray, $value) { $err = error_reporting(); error_reporting(0); $myArray = $value; error_reporting($err); } declare_assoc($productitems['a']['b']['c']['d']['e']['f'], 65);
Output for 4.3.0 - 7.1.0