Changes &filetype check for matching php pattern

Eg:- Setting php.wordpress implies php syntax highlighting with
wordpress extensions.

With the equality check PHP indent settings stop working as it does not
detect the buffer as a PHP buffer.

Using a pattern match ensures that plugins that extend the php filetype
with custom syntax highlighting work correctly.