From c888f855dd9f955496e297c67bc6d944a8abd0dc Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sun, 26 Dec 2004 12:44:43 +0000 Subject: [PATCH] fix the php5 object properties stuff. noted by Andi & Derick git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@175591 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/var/functions/var-dump.xml | 7 +++---- reference/var/functions/var-export.xml | 6 ++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/reference/var/functions/var-dump.xml b/reference/var/functions/var-dump.xml index 4e7fa44fa7..d2f345909e 100644 --- a/reference/var/functions/var-dump.xml +++ b/reference/var/functions/var-dump.xml @@ -1,5 +1,5 @@ - + @@ -20,9 +20,8 @@ explored recursively with values indented to show structure. - In PHP only public properties of objects will be returned in the output. - var_export and print_r will - also return protected and private properties. + In PHP 5 only public, private and protected properties of objects will be + returned in the output. &tip.ob-capture; diff --git a/reference/var/functions/var-export.xml b/reference/var/functions/var-export.xml index 0e4f4bf020..e5c8b8d21d 100644 --- a/reference/var/functions/var-export.xml +++ b/reference/var/functions/var-export.xml @@ -1,5 +1,5 @@ - + @@ -16,9 +16,7 @@ This function returns structured information about the variable that is passed to this function. It is similar to var_dump - with two exceptions. The first one is that the returned representation is - valid PHP code, the second that it will also return protected and private - properties of an object with PHP 5. + with one exception: the returned representation is valid PHP code. You can also return the variable representation by using &true; as