3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [ ['my' => 'array'], 'test' => ['some' => 'foobar'], 'num' => 5 ]; $r = array_search(['some' => $foobar], $a); var_dump($r);
Output for 5.4.3
Notice: Undefined variable: foobar in /in/3Dc28 on line 9 bool(false)