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 bug66702 : regexiterator's invert flag doesn't work as expected
Updated NEWS
Merge branch 'PHP-5.5' into PHP-5.6
Remove some usages of hashtable internals
Add zend_hash_reindex

The implementation differs from the original in array.c in that it
rehashes the hashtable in the same loop. This is approximately two
times faster (not counting the rare case of a purely associative
array).
Add zend_hash_splice

This implements the original functionality of php_splice, but
as an in-place operation, thus avoiding copying the HT.

This is much faster (~10x) if the splice removes a small portion
of the array and doesn't insert many elements.
Don't always separate splice replacement array

Only perform separation when a typecast is done. Avoids doing a
full hash copy in many cases.
Add only_integer_keys option to zend_hash_reindex

This allows to either do a full reindex, or only reindex the integer
keys.
Don't test for specific non-zero substr_compare() return value
Merge branch 'PHP-5.5' into PHP-5.6
abstract namespace for unix sockets is a linux only feature
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  abstract namespace for unix sockets is a linux only feature
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  abstract namespace for unix sockets is a linux only feature
add missing entries to NEWS
add a NEWS block for beta2
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