Allow custom extensions for php handler
Changing extensions.join to extensions.flatten.compact.join
Typo
Update specs
Merge pull request #715 from hunner/php-allow-custom-ext

Add specs for #689