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 entries to NEWS
add a NEWS block for beta2
Merge branch 'PHP-5.6'

* PHP-5.6:
  add a NEWS block for beta2
  add missing entries to NEWS
fix typo
fix typo
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix typo
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix typo
  fix typo
fix typo
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix typo
  fix typo
  fix typo
New result fetching mode for mysqlnd, which should use less memory but
implies more memory copy. The old method is still available and can be used.
It stays as default. Choosing the method is through a flag to mysqli_query()/mysqli_real_query()
New mode can be forced with an INI setting, for all extensions that support this mode
(ext/mysql and mysqli, because PDO due to it's architecture can't support it)
The setting is mysqlnd.fetch_data_copy=[0|1]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6

Conflicts:
	ext/mysqli/tests/mysqli_begin_transaction.phpt
Cleanup $ is not needed for git
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Cleanup $ is not needed for git
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Cleanup $ is not needed for git
Merge branch 'PHP-5.6'

* PHP-5.6:
  Cleanup $ is not needed for git
Fix the fix
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6