Fix array/object cast of refcounted tmp var
More fixes for array/object casts with temporary variables
missing include for strlen proto
fix some signed/unsigned mismatch
fix signed/unsigned mismatch
fix signed/unsigned mismatch warning
more signed/unsigned mismatch fix
fix signed/unsigned mismatch warning
fix several datatype mismatch warnings
Allow to substitute storage layer in memory manager.
Fix bug #68027 - fix date parsing in XMLRPC lib
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
Fix bug #68089 - do not accept options with embedded \0

Conflicts:
	ext/curl/interface.c
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix invalid efree() on null pointer and add help for -x
Merge branch 'pull-request/839' into PHP-5.6

* pull-request/839:
  Upated NEWS
  Address issues raised by @nikic
  Make sure min < max
  Mersenne Twister was added in GMP 4.2
  Add test files
  Add gmp_random_bits(bits) and gmp_random_range(min, max)
  Change GMPs default PRNG to Mersenne Twister
update NEWS and UPGRADING
Merge branch 'PHP-5.6'

* PHP-5.6:
  update NEWS and UPGRADING
  Upated NEWS
  Address issues raised by @nikic
  Make sure min < max
  Mersenne Twister was added in GMP 4.2
  Add test files
  Add gmp_random_bits(bits) and gmp_random_range(min, max)
  Change GMPs default PRNG to Mersenne Twister

Conflicts:
	ext/gmp/gmp.c
Added API function to retrive current custom heap handlers
Fixed bug #68128

Three issues are addressed:

- RecursiveRegexIterator::accept() should accept non-empty arrays without
  applying any regular expression and RegexIterator::accept() should not accept
  an array.
- RegexIterator::accept() should not accept an atom that fails to match
  anything, even when PREG_PATTERN_ORDER is used (which would return an array
  of empty arrays).
- RecursiveRegexIterator::getChildren() should pass all constructor arguments
  to its child iterator instead of just the regular expression.