3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fieldsConfig = array("readOnly" => array("readOnly" => true), "params" => array("readOnly" => true), "modifiedFields" => array("readOnly" => true), "fieldsConfig" => array("readOnly" => true), ); foreach ($fieldsConfig as $key => $value) { if (is_null($value)) { $value = array(); } }
based on NWT7S
Output for 4.3.0 - 7.1.0