Fix #66021 (Blank line inside empty array/object)

Changed json_encode() so that when the JSON_PRETTY_PRINT option is specified,
the pair of linefeeds immediately after an opening bracket and before the
corresponding closing bracket is omitted when the array or object contains no
elements or accessible properties (and hence would have a blank line between
the brackets).
Fixed bug 64604
Fix #66562: Consistency bug where curl_multi_getcontent behaves different from curl_exec

curl_exec returns an empty string when data is received from a domain that returns zero content. curl_multi_getcontent
returned null. Now it returns an empty string fixing the incosistency
Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encoding
Updated UPGRADING to cover PDO_pgsql changes
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated UPGRADING to cover PDO_pgsql changes
Fixed Bug #66890 imagescale segfault

zend_parse_parameters "l" expect long, not int
NEWS
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS
  Fixed Bug #66890 imagescale segfault
NEWS
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS
  NEWS
  Fixed Bug #66890 imagescale segfault
typo in NEWS
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  typo in NEWS
typo in NEWS
Merge branch 'PHP-5.6'

* PHP-5.6:
  typo in NEWS
  typo in NEWS
Fix hash_pbkdf2() with missing $length argument

Also change the type of some string length variables to ensure
that the zpp call works correctly on platforms where sizeof(int)
!= sizeof(long).
Merge branch 'PHP-5.5' into PHP-5.6
Add SKIPIF in GMP test
Merge branch 'PHP-5.6'
Fixed Bug #66893i imagescale ignore method argument

We also have our goto fail; bug.

Upstream fix for libgd
https://bitbucket.org/libgd/gd-libgd/commits/5b42b1178c37ffd30c9a15733058656be0277da0