Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HttpFoundation] Behaviour change in PHP7 for substr
In PHP7 the behaviour of substr() changed. To resume: "Truncating an entire string should result in a string." See: https://bugs.php.net/bug.php?id=62922
- Loading branch information
Is this comment still correct ?
As I can see,
substr()
can return an empty string or false; and in that case the PATH_INFO is set to '/' instead of an empty string.