Fix stream_select() issue with OpenSSL buffer

Ensure data from OpenSSL internal buffer has been
transfered to PHP stream buffer before a select()
emulation operation is performed

Addresses bug #65137
https://bugs.php.net/bug.php?id=65137

Conflicts:
	ext/openssl/xp_ssl.c
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix stream_select() issue with OpenSSL buffer

Conflicts:
	ext/openssl/xp_ssl.c
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix stream_select() issue with OpenSSL buffer
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix stream_select() issue with OpenSSL buffer
Use efree_size() instead of efree() where posible
Reorder fields for better nenory consumtion and data locality on 64-bit systems
first show to make 's' work with size_t
revert an accident
's' works with size_t round 2
updated UPGRADING.INTERNALS
's' works with size_t round 3
's' works with size_t round 4
Fixed constants in Zend/zend_multiply.h

Conflicts:
	Zend/zend_multiply.h
's' and size_t - fix some invalid pointers and the remaining ext/mcrypt parts
fix signature
fix signature
fix signature
Fix bug #67917 (gmp compound assignment operator leak)
fix signature
Merge branch 'PHP-5.6'