3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array=array(array('#0kg - 50kg','Questions?','1|2'), array('Yes','','3|4'), array('#51kg - 100kg','Questions?','5|6')); for ($i=0,$j=0;$i<count($array);$i++) { if (strpos($array[$i][0], '#') !== false) { echo preg_replace("/#/",'',$finder[$i][0]); $j++; } }
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: finder in /in/oCTOl on line 9 Notice: Undefined variable: finder in /in/oCTOl on line 9
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: finder in /in/oCTOl on line 9 Notice: Undefined variable: finder in /in/oCTOl on line 9