3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $types = array('view','zoom'); $type = 'views'; echo array_search($type,$types);
based on rLS6b
Output for 4.3.0 - 7.1.0