Fixed case part of bug #64874 ("json_decode handles whitespace and case-sensitivity incorrectly")
Implemented FR #65917 (getallheaders() is not supported by the built-in...)

- Implemented apache_request_headers() and getallheaders() alias in CLI server
- Implemented apache_response_headers() in CLI server using FastCGI code

Conflicts:
	NEWS
	UPGRADING
Rewrote test using tcp instead of http:// stream
Removed UPGRADING note

Conflicts:
	UPGRADING
Merge branch 'JSONCaseFix' of git://github.com/TazeTSchnitzel/php-src into TazeTSchnitzel-JSONCaseFix
Merge branch 'CLIGetAllHeadersBackport' into PHP-5.5

* CLIGetAllHeadersBackport:
  Removed UPGRADING note
  Rewrote test using tcp instead of http:// stream
  Implemented FR #65917 (getallheaders() is not supported by the built-in...)
Updated NEWS
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS
  Removed UPGRADING note
  Rewrote test using tcp instead of http:// stream
  Implemented FR #65917 (getallheaders() is not supported by the built-in...)
avoid doing a stream_select on a closed stream
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  avoid doing a stream_select on a closed stream
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  avoid doing a stream_select on a closed stream
Fixed tests that fail with non-default `serialize_precision` configurations.

See:

 * https://bugs.php.net/bug.php?id=64760
 * 4dc4302
Fixed tests that fail with non-default `serialize_precision` configurations.

See:

 * https://bugs.php.net/bug.php?id=64760
 * 4dc4302
Fixed tests that fail with non-default `serialize_precision` configurations.

See:

 * https://bugs.php.net/bug.php?id=64760
 * 4dc4302
added a test to cover distinction between boolean return value of unserialize function and deserializing serialized boolean
Fix WS in serialization_error_002.phpt
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  added a test to cover distinction between boolean return value of unserialize function and deserializing serialized boolean
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  added a test to cover distinction between boolean return value of unserialize function and deserializing serialized boolean
permanently deactivate that place, not on runtime only

besides the two "if" checks, this fixes static analyze which is sometimes
broken because of this
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  permanently deactivate that place, not on runtime only