Fix bug #65051: count() off by one inside unset()

nNumOfElements was incremented after the pDestructor code, so any
code in the dtor would get a wrong number of elements.

Right now the bucket deletion code is replicated in four places,
it should probably be moved off into one function (or rather,
zend_hash_apply_deleter should be used everywhere). The codes are
subtly different though in that the HANDLE_UNBLOCK_INTERRUPTIONS()
happens in different places. In particular it seems odd that in
some cases interruptions stay blocked during the destructor call.
Merge branch 'PHP-5.5'
Fix test typo
Merge branch 'PHP-5.4' into PHP-5.5
Merge branch 'PHP-5.5'
5.4.18 next
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  5.4.18 next

Conflicts:
	configure.in
	main/php_version.h
Merge branch 'PHP-5.5'

* PHP-5.5:
  5.4.18 next
sync NEWS
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  sync NEWS
Merge branch 'PHP-5.5'

* PHP-5.5:
  sync NEWS
Clean up leftover file after the test
Remove broken client version checking
Fixed bug #65047 (Test skip on client / server version)
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #65047 (Test skip on client / server version)
  Remove broken client version checking
  Clean up leftover file after the test
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fixed bug #65047 (Test skip on client / server version)
  Remove broken client version checking
  Clean up leftover file after the test
Related to bug #65047 (Test skip on client / server version)

bug46274.phpt and bug46274_2.phpt
Make query silent (when server don't know bytea_output option)

bug_49985.phpt
Make result "locale" independent
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Related to bug #65047 (Test skip on client / server version)
Merge branch 'PHP-5.5'

* PHP-5.5:
  Related to bug #65047 (Test skip on client / server version)
This will be PHP 5.3.28