optimizer: fix devel debug output
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1280 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
770a69718e
commit
c8b77e8be6
|
@ -240,7 +240,7 @@ static void op_snprint(zend_op_array *op_array, char *buf, int size, zend_uchar
|
|||
php_output_start_default(TSRMLS_C);
|
||||
php_var_export(&zv, 1 TSRMLS_CC);
|
||||
php_output_get_contents(&result TSRMLS_CC);
|
||||
php_output_end(TSRMLS_C);
|
||||
php_output_discard(TSRMLS_C);
|
||||
|
||||
snprintf(buf, size, Z_STRVAL(result));
|
||||
zval_dtor(&result);
|
||||
|
|
|
@ -113,7 +113,7 @@ typedef znode znode_op;
|
|||
|
||||
static inline int php_output_start_default(TSRMLS_D) { php_start_ob_buffer(NULL, 0, 1 TSRMLS_CC); }
|
||||
static inline int php_output_get_contents(zval *p TSRMLS_DC) { php_ob_get_buffer(p TSRMLS_CC); }
|
||||
static inline int php_output_end(TSRMLS_D) { php_end_ob_buffer(0, 0 TSRMLS_CC); }
|
||||
static inline int php_output_discard(TSRMLS_D) { php_end_ob_buffer(0, 0 TSRMLS_CC); }
|
||||
#endif
|
||||
|
||||
/* unicode */
|
||||
|
|
Loading…
Reference in New Issue