3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array('subcategory' => array('0' => 18,'1' => 19)); $search = array_search("18",$test); print_r($test);
Output for 4.3.0 - 7.1.0
Array ( [subcategory] => Array ( [0] => 18 [1] => 19 ) )