Avoid reallocation and copying
only run this test if SimpleXML is loaded
Merge branch 'master' of https://github.com/php/php-src
use a suitable number of patterns to show the bug is resolved, not a stupid number that could cause memory limit to be exceeded or other side effects
correct version number requirements for this test
fix the version requirements for these tests
remove bogus locale use from test
Separate values before conversion
Merge remote-tracking branch 'php/master'

Conflicts:
	Zend/zend_exceptions.c