diff options
| author | Felipe Pena <felipe@php.net> | 2008-08-02 04:46:07 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-08-02 04:46:07 +0000 |
| commit | e304515ddb434bb887c9d93cf0b4dd30a2ed94e4 (patch) | |
| tree | 803fd9e69205be8781246a095f7f9c2b6d0be66d /main/output.c | |
| parent | 11bc1de7706fefe0558b2a2ddb071082ca87ae2d (diff) | |
| download | php-git-e304515ddb434bb887c9d93cf0b4dd30a2ed94e4.tar.gz | |
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
Diffstat (limited to 'main/output.c')
| -rw-r--r-- | main/output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/output.c b/main/output.c index 92145afdc8..6f3b4e3c5a 100644 --- a/main/output.c +++ b/main/output.c @@ -418,7 +418,7 @@ static int php_ob_init_named(uint initial_size, uint block_size, char *handler_n { php_ob_buffer tmp_buf; - if (output_handler && !zend_is_callable(output_handler, 0, NULL)) { + if (output_handler && !zend_is_callable(output_handler, 0, NULL TSRMLS_CC)) { return FAILURE; } @@ -508,7 +508,7 @@ static int php_ob_init(uint initial_size, uint block_size, zval *output_handler, } } else if (output_handler && output_handler->type == IS_ARRAY) { /* do we have array(object,method) */ - if (zend_is_callable(output_handler, 0, &handler_name)) { + if (zend_is_callable(output_handler, 0, &handler_name TSRMLS_CC)) { SEPARATE_ZVAL(&output_handler); Z_ADDREF_P(output_handler); result = php_ob_init_named(initial_size, block_size, handler_name, output_handler, chunk_size, erase TSRMLS_CC); @@ -527,7 +527,7 @@ static int php_ob_init(uint initial_size, uint block_size, zval *output_handler, } } else if (output_handler && output_handler->type == IS_OBJECT) { /* do we have callable object */ - if (zend_is_callable(output_handler, 0, &handler_name)) { + if (zend_is_callable(output_handler, 0, &handler_name TSRMLS_CC)) { SEPARATE_ZVAL(&output_handler); Z_ADDREF_P(output_handler); result = php_ob_init_named(initial_size, block_size, handler_name, output_handler, chunk_size, erase TSRMLS_CC); |
