strpos(strtolower($var),'php')=== stripos($var,'php');.

Nice example though.