3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $item = ( Array ( 'group_roles_name' => 'CREATOR' ) ); $value = "CREATOR"; if(is_array($item) && !in_array($value,$item)){ // not equal, break de loop $itemFound = false; echo "not found"; } else if(is_array($item) && in_array($value,$item)){ echo "found"; }
based on 3QtR7
Output for 4.3.0 - 7.2.0
found