fix bug #49634x
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix bug #49634x
BFN
Fix bug #65196

Passing DOMDocumentFragment to DOMDocument::saveHTML()
produces invalid markup, because a DocumentFragment is just a container
for child nodes and not a real node itself.
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #65196
BFN
Remove 128.0.0.0/16 and 191.255.0.0/16 from the reserved list.

These were returned to the general allocation pool by RFC 3330, and hence
shouldn't cause an IP address validation failure due to being reserved. At
least 128.0.0.0/16 is in use on the public Internet today.

Fixes bug #66229 (128.0.0.0/16 isn't reserved any longer).
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Remove 128.0.0.0/16 and 191.255.0.0/16 from the reserved list.
Fix php_module_startup() when loading more than one additional module

Dereferencing addition_modules within php_module_startup would
point to a vector entirely on the stack (which is of course, wrong).

Use a specialized helper to keep BC with the current php_module_startup()
calling semantics.

Fixes 63159
Thanks to @a-j-k
Fix loss of precision
Merge branch 'PHP-5.4' into PHP-5.5