Fixed incorrect check. SEND_REF may be executed before DO_FCALL when EX(function_state).function is not yet set to the calling function.
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed incorrect check. SEND_REF may be executed before DO_FCALL when EX(function_state).function is not yet set to the calling function.

Conflicts:
	Zend/zend_vm_def.h
	Zend/zend_vm_execute.h
Fix bug #64458 (dns_get_record result with string of length -1)
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix bug #64458 (dns_get_record result with string of length -1)
update credits
5.4.16-dev
Fix NEWS
PHP 5.3.26 this will be
Merge branch 'PHP-5.3' into PHP-5.4

Conflicts:
	configure.in
	main/php_version.h
Fix Test Bug #64714
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix Test Bug #64714
Fixed bug bug #64713 Compilation warnings in finfo
updated libmagic.patch
Fix memory realted to #64726
Merge branch 'PHP-5.3' into PHP-5.4
Fixed bug #64726 (Segfault when calling fetch_object on a use_result and DB pointer has closed)
Also fixed bug #64726 in 5.3
Merge branch 'PHP-5.3' into PHP-5.4
Revert "Add CURL_WRAPPERS_ENABLE constant"

This reverts commit d7f709a032a40cb475042b43db07a4698a2488b7.
Since wrappers are deleted from 5.5, no point in adding this constant.
When Apache use RewriteRule to redirect, via mod_proxy_fgi, to php-fpm
the SCRIPT_FILENAME may contains the QUERY_STRING.

Ex : RewriteRule ^(.*)\.php$ fcgi://127.0.0.1:9000/$1.php [P]

From apache debug (build with -DFCGI_DUMP_ENV_VARS)
AH01062: sending env var 'SCRIPT_FILENAME' value 'proxy:fcgi://127.0.0.1:9000/var/www/html/info.php?foo'
AH01071: Got error 'Primary script unknown\n'