From 3cb1db985e6a89fa9d5b590d52d4f04f37d61bd4 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sat, 8 Dec 2001 23:44:34 +0000 Subject: - 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) --- ext/standard/php_var.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/standard/php_var.h') 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 -- cgit v1.2.1