symfony/symfony — pull request #2782 by pulzarraider (2011-12-03 20:53:25+00:00)
Title: [FrameworkBundle][CssSelector][HttpFoundation][HttpKernel] [Security][Validator] Minor optimalisations for "explode" function

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

I add limit parameter to some places, where it may be usefull. I did not check the context of what values may been exploded. So to not break anything, I add +1 to limit parameter.

If you find out that in some places limit (or limit+1) is not important or meaningless, write a comment please and I will fix it.