summaryrefslogtreecommitdiff
path: root/ext/standard/php_var.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2001-12-08 23:44:34 +0000
committerDerick Rethans <derick@php.net>2001-12-08 23:44:34 +0000
commit3cb1db985e6a89fa9d5b590d52d4f04f37d61bd4 (patch)
tree58501f2e874d6ab08cc81f5f976faceacac0c48c /ext/standard/php_var.h
parent84603723958c8338d63d90e831ace4e3281bb27b (diff)
downloadphp-git-3cb1db985e6a89fa9d5b590d52d4f04f37d61bd4.tar.gz
- Added var_export, which shows a representation of a variable, much like
var_dump, but in such a way you can use it as PHP code. @- Added var_export, which shows a representation of a variable, much like @ var_dump, but in such a way you can use it as PHP code. (Derick)
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 aa5e003955..bcab5cfe73 100644
--- a/ext/standard/php_var.h
+++ b/ext/standard/php_var.h
@@ -24,10 +24,12 @@
#include "ext/standard/php_smart_str_public.h"
PHP_FUNCTION(var_dump);
+PHP_FUNCTION(var_export);
PHP_FUNCTION(serialize);
PHP_FUNCTION(unserialize);
void php_var_dump(zval **struc, int level TSRMLS_DC);
+void php_var_export(zval **struc, int level TSRMLS_DC);
/* typdef HashTable php_serialize_data_t; */
#define php_serialize_data_t HashTable