4
mk3d
7y

if (in_array($needle, $haystack)){
return true;
}else{
return false;
}

# yeah, I did it.... wtf brain!!

Comments
  • 0
    if ( in_array($needle, $haysack) == true ) {
    return true;
    } else if ( in_array($needle, $haysack) == false ) {
    return false;
    }
Add Comment