summaryrefslogtreecommitdiff
path: root/ext/standard/php_var.h
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2010-07-09 21:11:37 +0000
committerScott MacVicar <scottmac@php.net>2010-07-09 21:11:37 +0000
commitc7b0abe6aa22ccda4296ffbe7a1defdf99e3e5dc (patch)
tree2c3739bbd2edfbd5fe414238c15c0212a46e8057 /ext/standard/php_var.h
parent5438a9d23c4bae10a1f38967f84f0f0420971676 (diff)
downloadphp-git-c7b0abe6aa22ccda4296ffbe7a1defdf99e3e5dc.tar.gz
Fix a bug when var_export() causes a fatal error that could inadvertently display data due to flushing of the output buffer.
Examples include, memory limit, execution time and recursion.
Diffstat (limited to 'ext/standard/php_var.h')
-rw-r--r--ext/standard/php_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/php_var.h b/ext/standard/php_var.h
index ce4db5bdf4..91026f804b 100644
--- a/ext/standard/php_var.h
+++ b/ext/standard/php_var.h
@@ -34,6 +34,8 @@ PHP_FUNCTION(memory_get_peak_usage);
PHPAPI void php_var_dump(zval **struc, int level TSRMLS_DC);
PHPAPI void php_var_export(zval **struc, int level TSRMLS_DC);
+PHPAPI void php_var_export_ex(zval **struc, int level, smart_str *buf TSRMLS_DC);
+
PHPAPI void php_debug_zval_dump(zval **struc, int level TSRMLS_DC);
typedef HashTable* php_serialize_data_t;