Revert "Revert "Fix failing tests""

This reverts commit c2a047cf99f3d020bab12701e8dafed7424673bf.
Optimized destruction of extra arguments passed to user functions.
If no refcounted arguments are passed, then destruction code is not triggered at all.
(Full rebuild required)
Small cleanups in hash implementation

 * Drop unnecessary checks in non-inlined part of numeric key
   detection
 * Drop zend_hash_apply_deleter in favor of zend_hash_del_el.
   Also move block/unblock interruption macros in there.
Drop duplicate arg from hash_get_current_key_ex
Fix for failing tests. gcc 4.8.3 would optimize away the assigment.
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix for failing tests. gcc 4.8.3 would optimize away the assigment.
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix for failing tests. gcc 4.8.3 would optimize away the assigment.
Use special flag (HASH_FLAG_INITIALIZED) instead of (nTableMask == 0) to indicate that HashTable is allocated.
Make nTableMask to be 0 for packed arrays.
Remove checks fo HASH_FLAG_PACKED in zend_hash_find/zend_hash_del and family (string keys are resolved through uninitialized_bucket).
Change HashTable layout for better locality.
Introduce specialized functions to compare with integer and string, to eliminate repeatable checks on each loop iteration in in_array() function.
Implemented FR #55428 (E_RECOVERABLE_ERROR when output buffering in output buffering handler)

## Can probably go in lower branches, but I'd like to keep it in
## master for now
Fix bug #68641

Include more reflection information for spl_autoload_register
Fixed bug #68665 (Invalid free)
updated NEWs
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWs
  Fixed bug #68665 (Invalid free)
added test for bug #68665
fix invalid free mentioned in bug 68665

thanks honey at internot dot info
Add type info for spl_autoload_register
Be verbose if --with-mp is enabled
Fixed build of litespped
Use internd string as key