3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sup_qus = array(0=>array( "a" => "1", "b" => "3", "z" => "3", "k" => "4", )); var_dump($array); foreach($sup_qus as $riskData){ if(array_column($riskData,'z')==3) { echo "yes"; }else{ echo "no"; } }
based on 7c5Yi
Output for 5.5.0 - 7.3.1
Notice: Undefined variable: array in /in/920pH on line 9 NULL no