mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
- fix regression with bug #22690 (ob_start() with create_function() output handler)
This commit is contained in:
parent
4bf982eba4
commit
0fe565293f
1 changed files with 1 additions and 1 deletions
|
@ -1258,7 +1258,7 @@ PHP_FUNCTION(ob_start)
|
||||||
long chunk_size = 0;
|
long chunk_size = 0;
|
||||||
long flags = PHP_OUTPUT_HANDLER_CLEANABLE|PHP_OUTPUT_HANDLER_REMOVABLE;
|
long flags = PHP_OUTPUT_HANDLER_CLEANABLE|PHP_OUTPUT_HANDLER_REMOVABLE;
|
||||||
|
|
||||||
if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|zlb", &output_handler, &chunk_size, &flags)) {
|
if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z/lb", &output_handler, &chunk_size, &flags)) {
|
||||||
RETURN_FALSE;
|
RETURN_FALSE;
|
||||||
}
|
}
|
||||||
if (chunk_size < 0) {
|
if (chunk_size < 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue