Revert "Merge branch 'PHP-5.6'"

This reverts commit aaf5689f4d6e523fd78e0291dbbcd78f3ea988dc, reversing
changes made to 481bf25b6ad70fcdc9c10f02b49c86a0bd4a3d0d.
fix apache handler build
Updated NEWS
Updated UPGRADING
Make DOMNode::textContent writeable
Fix ZTS build
Reintroduce fix from pull #770 in a PHP 7 way
Merge branch 'PHP-5.6'

* PHP-5.6:
  Make DOMNode::textContent writeable
  Updated UPGRADING
  Updated NEWS

Conflicts:
	ext/dom/attr.c
	ext/dom/characterdata.c
	ext/dom/document.c
	ext/dom/node.c
Updated NEWS
Updated UPGRADING
Revert "Updated UPGRADING"

This reverts commit 300c0cf1c463efd48ebe9adf83286a5c949e0c1f.
Fixed destruction on error
Avoid string duplication
fixed reference counting
Fixed memory leaks
Implement gmp_import() and gmp_export()
Merge branch 'PHP-5.6'

Conflicts:
	ext/gmp/gmp.c
mpz functions don't work on zend_ulongs...

If we really want to support zend_ulong > ulong in GMP the right
approach would be to only handle < LONG_MAX in ui shortcut functions
and use mpz_import in convert_to_gmp for number > LONG_MAX.
fix type
use portable strtol