laravel/framework — pull request #4150 by jasonlewis (2014-04-16 08:16:56+00:00)
Title: Fix loose matching when validating route schemes.

This is a fix for the loose matching when validating route schemes. This is fairly edge case but it's still worth fixing none the less. The tests demonstrates what's happening.

`in_array` is renowned for being a pain.

- http://www.sitepoint.com/3-strange-php-facts-you-may-not-know/ (The Mystery of Value Appearance)
- http://stackoverflow.com/questions/2739441/odd-behaviour-with-phps-in-array-function