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
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
Here comes the news
Merge branch 'PHP-5.6'

Conflicts:
	NEWS
	ext/mysqlnd/mysqlnd_result.c
Fix bug #66015 by reverting "Removed operations on constant arrays."
Updated NEWS
Merge branch 'PHP-5.6'
Fixed bug #66967 Updated the bundled libsqlite to 3.8.4.3
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #66967 Updated the bundled libsqlite to 3.8.4.3
updated NEWS
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWS
  Fixed bug #66967 Updated the bundled libsqlite to 3.8.4.3