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) { echo "This is my text $value"; } //$temp=array(); $temp=array(pram_alter($sql, 'pram_alter')); echo print_r($temp); ?>
based on WDVeM
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: value in /in/9AAdv on line 6 This is my text Array ( [0] => ) 1
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: value in /in/9AAdv on line 6 This is my text Array ( [0] => ) 1