3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sql = array("inUserID" => "lemon", "inCustID" => "orange", "btAll" => "banana", "btPermPref" => "apple", "inDisplay"=>"toast"); function pram_alter($array, $key) { "exec @$key = .'$array'. \n"; } array_walk($sql, 'pram_alter'); echo print_r(array_walk); ?>
based on 3eOgs
Output for 7.2.0
Warning: Use of undefined constant array_walk - assumed 'array_walk' (this will throw an Error in a future version of PHP) in /in/KvPfY on line 12 array_walk1
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant array_walk - assumed 'array_walk' in /in/KvPfY on line 12 array_walk1