3v4l.org

run code in 150+ 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"; } $temp=pram_alter($sql, 'pram_alter'); echo print_r(array_walk); ?>
based on KvPfY
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/RMuJD on line 6 Notice: Use of undefined constant array_walk - assumed 'array_walk' in /in/RMuJD on line 12 array_walk1
Output for 4.3.0 - 5.3.29
Notice: Use of undefined constant array_walk - assumed 'array_walk' in /in/RMuJD on line 12 array_walk1