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
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  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
Remove curl wrappers
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)
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  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)
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
update credits
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update credits
NEWS for beta 4
NEWS for RC 1
Removed fork of ext/zlib/tests/bug_52944.phpt

The real issue is a bug in asm zlib build, reported here
https://github.com/madler/zlib/issues/41 . Non ASM builds
behave more predictable.
gd: provide imageflip with system libgd when available
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
gd: fix proto comment
We need both gdImageCreateFromJpeg* and gdImageCreateFromJpeg*Ex

The new (Ex) functions are used with the new ignore_warning parameter

The standard functions are used in _php_image_create_from_string,
sent as a function pointer, and call without this optional parameter.
allow use of gdImageCreateFromJpegEx with system libgd
gd: missing headers in previous