[+] array version of #1 and #2 - in_array() used