(Anatol)
. Implemented the RFC `Scalar Type Decalarations v0.5`. (Anthony)
. Implemented the RFC `Group Use Declarations`. (Marcio)
+ . Implemented the RFC `Continue Output Buffering`. (Mike)
- Curl:
. Fixed bug #68937 (Segfault in curl_multi_exec). (Laruence)
always be zero when casted to integer.
. Calling a method on a non-object no longer raises a fatal error; see
also: https://wiki.php.net/rfc/catchable-call-to-member-of-non-object.
- . Error messages for zend_parse_parameters, type hints and conversions now always say "integer" and "float" instead of "long" and "double".
+ . Error messages for zend_parse_parameters, type hints and conversions now
+ always say "integer" and "float" instead of "long" and "double".
+ . Output buffering now continues to work for an aborted connection if
+ ignore_user_abort is set to true.
* Unbuffered write */
PHPAPI size_t php_output_write_unbuffered(const char *str, size_t len)
{
- if (OG(flags) & PHP_OUTPUT_DISABLED) {
- return 0;
- }
if (OG(flags) & PHP_OUTPUT_ACTIVATED) {
return sapi_module.ub_write(str, len);
}
* Buffered write */
PHPAPI size_t php_output_write(const char *str, size_t len)
{
- if (OG(flags) & PHP_OUTPUT_DISABLED) {
- return 0;
- }
if (OG(flags) & PHP_OUTPUT_ACTIVATED) {
php_output_op(PHP_OUTPUT_HANDLER_WRITE, str, len);
return len;
}
+ if (OG(flags) & PHP_OUTPUT_DISABLED) {
+ return 0;
+ }
return php_output_direct(str, len);
}
/* }}} */