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
This commit is contained in:
Nuno Lopes 2004-12-26 12:44:43 +00:00
parent 993c8c7470
commit c888f855dd
2 changed files with 5 additions and 8 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/var.xml, last change in rev 1.84 -->
<refentry id="function.var-dump">
<refnamediv>
@ -20,9 +20,8 @@
explored recursively with values indented to show structure.
</simpara>
<simpara>
In PHP only public properties of objects will be returned in the output.
<function>var_export</function> and <function>print_r</function> will
also return protected and private properties.
In PHP 5 only public, private and protected properties of objects will be
returned in the output.
</simpara>
&tip.ob-capture;
<para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/var.xml, last change in rev 1.6 -->
<refentry id="function.var-export">
<refnamediv>
@ -16,9 +16,7 @@
<simpara>
This function returns structured information about the variable that is
passed to this function. It is similar to <function>var_dump</function>
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.
</simpara>
<simpara>
You can also return the variable representation by using &true; as