3v4l.org

run code in 300+ PHP versions simultaneously
<?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); ?>

preferences:
37.97 ms | 402 KiB | 5 Q