laravel/framework — pull request #4496 by Zuken (2014-05-26 13:09:05+00:00)
Title: Fix Request::segments() ignore segment "0"

For url with /one/0/three, Request::segments() expected result is [one, 0, three], but there is [one,three]. This happens because array_filter without closure checks $v!=false, but should check for emptiness in this case.