cvs: phpdoc-ja /language/oop5 abstract.xml constants.xml magic.xml overloading.xml
| From: | Hideyuki Shimooka | Date: | Sat, 20 Aug 2005 14:00:31 +0000 |
| Subject: | cvs: phpdoc-ja /language/oop5 abstract.xml constants.xml magic.xml overloading.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-1143@lists.php.net to get a copy of this message | ||
shimooka Sat Aug 20 10:00:31 2005 EDT
Modified files:
/phpdoc-ja/language/oop5 abstract.xml constants.xml magic.xml
overloading.xml
Log:
translation updated
http://cvs.php.net/diff.php/phpdoc-ja/language/oop5/abstract.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/language/oop5/abstract.xml diff -u phpdoc-ja/language/oop5/abstract.xml:1.3 phpdoc-ja/language/oop5/abstract.xml:1.4 --- phpdoc-ja/language/oop5/abstract.xml:1.3 Wed May 4 11:07:27 2005 +++ phpdoc-ja/language/oop5/abstract.xml Sat Aug 20 10:00:27 2005 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.13 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <sect1 id="language.oop5.abstract"> - <title>ãªãã¸ã§ã¯ãã¢ãã¹ãã©ã¯ã·ã§ã³</title> + <title>ã¯ã©ã¹ã¢ãã¹ãã©ã¯ã·ã§ã³</title> <para> PHP 5 ã§ã¯ãæ½è±¡ã¯ã©ã¹ã¨ã¡ã½ãããå°å ¥ããã¾ããã @@ -15,11 +15,13 @@ </para> <para> - æ½è±¡ã¡ã½ãããå®è£ ããã¯ã©ã¹ã¯ãåç以ä¸ã® + æ½è±¡ã¯ã©ã¹ããç¶æ¿ããéã親ã¯ã©ã¹ã®å®£è¨ã§ abstract ã¨ãã¦ãã¼ã¯ããã + å ¨ã¦ã®ã¡ã½ããã¯ãåã¯ã©ã¹ã§å®ç¾©ãããªããã°ãªãã¾ãããå ãã¦ã + ãããã®ã¡ã½ããã¯åç以ä¸ã® <link linkend="language.oop5.visibility">å¯è¦æ§</link>ã§ - å®ç¾©ãããå¿ è¦ãããã¾ããæ½è±¡ã¡ã½ãããprotectedã¨ãã¦å®ç¾©ãããå ´åã - ãã®é¢æ°ã®å®è£ ã¯protectedã¾ãã¯publicã®ã©ã¡ããã¨ãã¦å®ç¾©ããå¿ è¦ã - ããã¾ãã + å®ç¾©ãããå¿ è¦ãããã¾ããä¾ãã°ãæ½è±¡ã¡ã½ããã protected + ã¨ãã¦å®ç¾©ãããå ´åããã®é¢æ°ã®å®è£ 㯠protected ã¾ã㯠public + ã®ã©ã¡ããã¨ãã¦å®ç¾©ããå¿ è¦ãããã¾ãã </para> <example> @@ -31,10 +33,11 @@ { // æ¡å¼µã¯ã©ã¹ã«ãã®ã¡ã½ããã®å®ç¾©ãå¼·å¶ãã abstract protected function getValue(); + abstract protected function prefixValue($prefix); // Common method public function printOut() { - print $this->getValue(); + print $this->getValue() . "\n"; } } @@ -43,6 +46,10 @@ protected function getValue() { return "ConcreteClass1"; } + + public function prefixValue($prefix) { + return "{$prefix}ConcreteClass1"; + } } class ConcreteClass2 extends AbstractClass @@ -51,17 +58,31 @@ return "ConcreteClass2"; } + public function prefixValue($prefix) { + return "{$prefix}ConcreteClass2"; + } } $class1 = new ConcreteClass1; $class1->printOut(); +echo $class1->prefixValue('FOO_') ."\n"; $class2 = new ConcreteClass2; $class2->printOut(); +echo $class2->prefixValue('FOO_') ."\n"; ?> ]]> - </programlisting> - </example> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +ConcreteClass1 +FOO_ConcreteClass1 +ConcreteClass2 +FOO_ConcreteClass2 +]]> + </screen> + </example> <para> 'abstract'ã¨ããååã®ã¦ã¼ã¶ã¼å®ç¾©é¢æ°ã¾ãã¯é¢æ°ãæããªã http://cvs.php.net/diff.php/phpdoc-ja/language/oop5/constants.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ja/language/oop5/constants.xml diff -u phpdoc-ja/language/oop5/constants.xml:1.1 phpdoc-ja/language/oop5/constants.xml:1.2 --- phpdoc-ja/language/oop5/constants.xml:1.1 Mon Nov 22 23:33:53 2004 +++ phpdoc-ja/language/oop5/constants.xml Sat Aug 20 10:00:27 2005 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: shimooka --> <sect1 id="language.oop5.constants"> <title>ãªãã¸ã§ã¯ã宿°</title> @@ -9,7 +10,8 @@ 宿°ã¯ãé常ã®å¤æ°ã¨ã¯ç°ãªããå®ç¾©ã¾ãã¯ä½¿ç¨ããéã« <varname>$</varname>è¨å·ãä»ãã¾ããã <link linkend="language.oop5.static">static</link> ã¡ã³ãã¼ã®ããã«ã - 宿°å¤ã¯ãªãã¸ã§ã¯ãã®ã¤ã³ã¹ã¿ã³ã¹ããã¢ã¯ã»ã¹ãããã¨ã¯ã§ãã¾ããã + 宿°å¤ã¯ãªãã¸ã§ã¯ãã®ã¤ã³ã¹ã¿ã³ã¹ãã (<literal>$object::constant</literal> + ã使ç¨ãã¦) ã¢ã¯ã»ã¹ãããã¨ã¯ã§ãã¾ããã </para> <example> @@ -37,7 +39,7 @@ </example> </sect1> - + <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/diff.php/phpdoc-ja/language/oop5/magic.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-ja/language/oop5/magic.xml diff -u phpdoc-ja/language/oop5/magic.xml:1.6 phpdoc-ja/language/oop5/magic.xml:1.7 --- phpdoc-ja/language/oop5/magic.xml:1.6 Tue Jul 19 11:22:55 2005 +++ phpdoc-ja/language/oop5/magic.xml Sat Aug 20 10:00:27 2005 @@ -1,17 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.10 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <sect1 id="language.oop5.magic"> <title>ãã¸ãã¯ã¡ã½ãã</title> <para> - <literal>__construct</literal>, + 以ä¸ã®é¢æ°å + <literal>__construct</literal>, <literal>__destruct</literal> (<link linkend="language.oop5.decon">ã³ã³ã¹ãã©ã¯ã¿ã¨ãã¹ãã©ã¯ã¿</link>åç §), <literal>__call</literal>, <literal>__get</literal>, - <literal>__set</literal> + <literal>__set</literal>, + <literal>__isset</literal>, + <literal>__unset</literal> (<link linkend="language.oop5.overloading">ãªã¼ãã¼ãã¼ãã£ã³ã°</link>åç §), <literal>__sleep</literal>, <literal>__wakeup</literal>, http://cvs.php.net/diff.php/phpdoc-ja/language/oop5/overloading.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/language/oop5/overloading.xml diff -u phpdoc-ja/language/oop5/overloading.xml:1.3 phpdoc-ja/language/oop5/overloading.xml:1.4 --- phpdoc-ja/language/oop5/overloading.xml:1.3 Wed Jun 15 12:20:14 2005 +++ phpdoc-ja/language/oop5/overloading.xml Sat Aug 20 10:00:28 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.10 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <sect1 id="language.oop5.overloading"> @@ -16,6 +16,11 @@ <link linkend="language.oop5.visibility">public</link> ã¨ãã¦å®ç¾©ããã¦ããªããã°ãªãã¾ããã </para> + <para> + PHP 5.1.0 以éã__isset ã __unset ã¡ã½ãããéã㦠+ <function>isset</function> 颿°ã <function>unset</function> + 颿°ãåã ã«ãªã¼ãã¼ãã¼ãããäºãå¯è½ã§ãã + </para> <sect2 id="language.oop5.overloading.members"> <title>ã¡ã³ãã¼ã®ãªã¼ãã¼ãã¼ã</title> @@ -29,6 +34,14 @@ <type>mixed</type><methodname>__get</methodname> <methodparam><type>mixed</type><parameter>name</parameter></methodparam> </methodsynopsis> + <methodsynopsis> + <type>bool</type><methodname>__isset</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <methodsynopsis> + <type>void</type><methodname>__unset</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> <para> ç¬èªã®ã¯ã©ã¹ã§å®ç¾©ããã¦ããã«ã¹ã¿ã ã³ã¼ããå®è¡ããããã«ã @@ -41,7 +54,7 @@ </para> <example> - <title>__get 㨠__set ã使ã£ããªã¼ãã¼ãã¼ãã®ä¾</title> + <title>__get, __set, __isset, __unset ã使ã£ããªã¼ãã¼ãã¼ãã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php @@ -50,9 +63,9 @@ public $n; private $x = array("a" => 1, "b" => 2, "c" => 3); - public function __get($nm) + private function __get($nm) { - print "Getting [$nm]\n"; + echo "Getting [$nm]\n"; if (isset($this->x[$nm])) { $r = $this->x[$nm]; @@ -63,9 +76,9 @@ } } - public function __set($nm, $val) + private function __set($nm, $val) { - print "Setting [$nm] to $val\n"; + echo "Setting [$nm] to $val\n"; if (isset($this->x[$nm])) { $this->x[$nm] = $val; @@ -74,6 +87,20 @@ echo "Not OK!\n"; } } + + private function __isset($nm) + { + echo "Checking if $nm is set\n"; + + return isset($this->x[$nm]); + } + + private function __unset($nm) + { + echo "Unsetting $nm\n"; + + unset($this->x[$nm]); + } } $foo = new Setter(); @@ -81,6 +108,15 @@ $foo->a = 100; $foo->a++; $foo->z++; + +var_dump(isset($foo->a)); //true +unset($foo->a); +var_dump(isset($foo->a)); //false + +// this doesn't pass through the __isset() method +// because 'n' is a public property +var_dump(isset($foo->n)); + var_dump($foo); ?> ]]> @@ -98,18 +134,24 @@ Nothing! Setting [z] to 1 Not OK! + +Checking if a is set +bool(true) +Unsetting a +Checking if a is set +bool(false) +bool(true) + object(Setter)#1 (2) { - ["n"]=> - int(1) - ["x:private"]=> - array(3) { - ["a"]=> - int(101) - ["b"]=> - int(2) - ["c"]=> - int(3) - } + ["n"]=> + int(1) + ["x:private"]=> + array(2) { + ["b"]=> + int(2) + ["c"]=> + int(3) + } } ]]> </screen>
http://cvs.php.net/diff.php/phpdoc-ja/language/oop5/abstract.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/language/oop5/abstract.xml diff -u phpdoc-ja/language/oop5/abstract.xml:1.3 phpdoc-ja/language/oop5/abstract.xml:1.4 --- phpdoc-ja/language/oop5/abstract.xml:1.3 Wed May 4 11:07:27 2005 +++ phpdoc-ja/language/oop5/abstract.xml Sat Aug 20 10:00:27 2005 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.13 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <sect1 id="language.oop5.abstract"> - <title>ãªãã¸ã§ã¯ãã¢ãã¹ãã©ã¯ã·ã§ã³</title> + <title>ã¯ã©ã¹ã¢ãã¹ãã©ã¯ã·ã§ã³</title> <para> PHP 5 ã§ã¯ãæ½è±¡ã¯ã©ã¹ã¨ã¡ã½ãããå°å ¥ããã¾ããã @@ -15,11 +15,13 @@ </para> <para> - æ½è±¡ã¡ã½ãããå®è£ ããã¯ã©ã¹ã¯ãåç以ä¸ã® + æ½è±¡ã¯ã©ã¹ããç¶æ¿ããéã親ã¯ã©ã¹ã®å®£è¨ã§ abstract ã¨ãã¦ãã¼ã¯ããã + å ¨ã¦ã®ã¡ã½ããã¯ãåã¯ã©ã¹ã§å®ç¾©ãããªããã°ãªãã¾ãããå ãã¦ã + ãããã®ã¡ã½ããã¯åç以ä¸ã® <link linkend="language.oop5.visibility">å¯è¦æ§</link>ã§ - å®ç¾©ãããå¿ è¦ãããã¾ããæ½è±¡ã¡ã½ãããprotectedã¨ãã¦å®ç¾©ãããå ´åã - ãã®é¢æ°ã®å®è£ ã¯protectedã¾ãã¯publicã®ã©ã¡ããã¨ãã¦å®ç¾©ããå¿ è¦ã - ããã¾ãã + å®ç¾©ãããå¿ è¦ãããã¾ããä¾ãã°ãæ½è±¡ã¡ã½ããã protected + ã¨ãã¦å®ç¾©ãããå ´åããã®é¢æ°ã®å®è£ 㯠protected ã¾ã㯠public + ã®ã©ã¡ããã¨ãã¦å®ç¾©ããå¿ è¦ãããã¾ãã </para> <example> @@ -31,10 +33,11 @@ { // æ¡å¼µã¯ã©ã¹ã«ãã®ã¡ã½ããã®å®ç¾©ãå¼·å¶ãã abstract protected function getValue(); + abstract protected function prefixValue($prefix); // Common method public function printOut() { - print $this->getValue(); + print $this->getValue() . "\n"; } } @@ -43,6 +46,10 @@ protected function getValue() { return "ConcreteClass1"; } + + public function prefixValue($prefix) { + return "{$prefix}ConcreteClass1"; + } } class ConcreteClass2 extends AbstractClass @@ -51,17 +58,31 @@ return "ConcreteClass2"; } + public function prefixValue($prefix) { + return "{$prefix}ConcreteClass2"; + } } $class1 = new ConcreteClass1; $class1->printOut(); +echo $class1->prefixValue('FOO_') ."\n"; $class2 = new ConcreteClass2; $class2->printOut(); +echo $class2->prefixValue('FOO_') ."\n"; ?> ]]> - </programlisting> - </example> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +ConcreteClass1 +FOO_ConcreteClass1 +ConcreteClass2 +FOO_ConcreteClass2 +]]> + </screen> + </example> <para> 'abstract'ã¨ããååã®ã¦ã¼ã¶ã¼å®ç¾©é¢æ°ã¾ãã¯é¢æ°ãæããªã http://cvs.php.net/diff.php/phpdoc-ja/language/oop5/constants.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ja/language/oop5/constants.xml diff -u phpdoc-ja/language/oop5/constants.xml:1.1 phpdoc-ja/language/oop5/constants.xml:1.2 --- phpdoc-ja/language/oop5/constants.xml:1.1 Mon Nov 22 23:33:53 2004 +++ phpdoc-ja/language/oop5/constants.xml Sat Aug 20 10:00:27 2005 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: shimooka --> <sect1 id="language.oop5.constants"> <title>ãªãã¸ã§ã¯ã宿°</title> @@ -9,7 +10,8 @@ 宿°ã¯ãé常ã®å¤æ°ã¨ã¯ç°ãªããå®ç¾©ã¾ãã¯ä½¿ç¨ããéã« <varname>$</varname>è¨å·ãä»ãã¾ããã <link linkend="language.oop5.static">static</link> ã¡ã³ãã¼ã®ããã«ã - 宿°å¤ã¯ãªãã¸ã§ã¯ãã®ã¤ã³ã¹ã¿ã³ã¹ããã¢ã¯ã»ã¹ãããã¨ã¯ã§ãã¾ããã + 宿°å¤ã¯ãªãã¸ã§ã¯ãã®ã¤ã³ã¹ã¿ã³ã¹ãã (<literal>$object::constant</literal> + ã使ç¨ãã¦) ã¢ã¯ã»ã¹ãããã¨ã¯ã§ãã¾ããã </para> <example> @@ -37,7 +39,7 @@ </example> </sect1> - + <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/diff.php/phpdoc-ja/language/oop5/magic.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-ja/language/oop5/magic.xml diff -u phpdoc-ja/language/oop5/magic.xml:1.6 phpdoc-ja/language/oop5/magic.xml:1.7 --- phpdoc-ja/language/oop5/magic.xml:1.6 Tue Jul 19 11:22:55 2005 +++ phpdoc-ja/language/oop5/magic.xml Sat Aug 20 10:00:27 2005 @@ -1,17 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.10 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <sect1 id="language.oop5.magic"> <title>ãã¸ãã¯ã¡ã½ãã</title> <para> - <literal>__construct</literal>, + 以ä¸ã®é¢æ°å + <literal>__construct</literal>, <literal>__destruct</literal> (<link linkend="language.oop5.decon">ã³ã³ã¹ãã©ã¯ã¿ã¨ãã¹ãã©ã¯ã¿</link>åç §), <literal>__call</literal>, <literal>__get</literal>, - <literal>__set</literal> + <literal>__set</literal>, + <literal>__isset</literal>, + <literal>__unset</literal> (<link linkend="language.oop5.overloading">ãªã¼ãã¼ãã¼ãã£ã³ã°</link>åç §), <literal>__sleep</literal>, <literal>__wakeup</literal>, http://cvs.php.net/diff.php/phpdoc-ja/language/oop5/overloading.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/language/oop5/overloading.xml diff -u phpdoc-ja/language/oop5/overloading.xml:1.3 phpdoc-ja/language/oop5/overloading.xml:1.4 --- phpdoc-ja/language/oop5/overloading.xml:1.3 Wed Jun 15 12:20:14 2005 +++ phpdoc-ja/language/oop5/overloading.xml Sat Aug 20 10:00:28 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.10 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <sect1 id="language.oop5.overloading"> @@ -16,6 +16,11 @@ <link linkend="language.oop5.visibility">public</link> ã¨ãã¦å®ç¾©ããã¦ããªããã°ãªãã¾ããã </para> + <para> + PHP 5.1.0 以éã__isset ã __unset ã¡ã½ãããéã㦠+ <function>isset</function> 颿°ã <function>unset</function> + 颿°ãåã ã«ãªã¼ãã¼ãã¼ãããäºãå¯è½ã§ãã + </para> <sect2 id="language.oop5.overloading.members"> <title>ã¡ã³ãã¼ã®ãªã¼ãã¼ãã¼ã</title> @@ -29,6 +34,14 @@ <type>mixed</type><methodname>__get</methodname> <methodparam><type>mixed</type><parameter>name</parameter></methodparam> </methodsynopsis> + <methodsynopsis> + <type>bool</type><methodname>__isset</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <methodsynopsis> + <type>void</type><methodname>__unset</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> <para> ç¬èªã®ã¯ã©ã¹ã§å®ç¾©ããã¦ããã«ã¹ã¿ã ã³ã¼ããå®è¡ããããã«ã @@ -41,7 +54,7 @@ </para> <example> - <title>__get 㨠__set ã使ã£ããªã¼ãã¼ãã¼ãã®ä¾</title> + <title>__get, __set, __isset, __unset ã使ã£ããªã¼ãã¼ãã¼ãã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php @@ -50,9 +63,9 @@ public $n; private $x = array("a" => 1, "b" => 2, "c" => 3); - public function __get($nm) + private function __get($nm) { - print "Getting [$nm]\n"; + echo "Getting [$nm]\n"; if (isset($this->x[$nm])) { $r = $this->x[$nm]; @@ -63,9 +76,9 @@ } } - public function __set($nm, $val) + private function __set($nm, $val) { - print "Setting [$nm] to $val\n"; + echo "Setting [$nm] to $val\n"; if (isset($this->x[$nm])) { $this->x[$nm] = $val; @@ -74,6 +87,20 @@ echo "Not OK!\n"; } } + + private function __isset($nm) + { + echo "Checking if $nm is set\n"; + + return isset($this->x[$nm]); + } + + private function __unset($nm) + { + echo "Unsetting $nm\n"; + + unset($this->x[$nm]); + } } $foo = new Setter(); @@ -81,6 +108,15 @@ $foo->a = 100; $foo->a++; $foo->z++; + +var_dump(isset($foo->a)); //true +unset($foo->a); +var_dump(isset($foo->a)); //false + +// this doesn't pass through the __isset() method +// because 'n' is a public property +var_dump(isset($foo->n)); + var_dump($foo); ?> ]]> @@ -98,18 +134,24 @@ Nothing! Setting [z] to 1 Not OK! + +Checking if a is set +bool(true) +Unsetting a +Checking if a is set +bool(false) +bool(true) + object(Setter)#1 (2) { - ["n"]=> - int(1) - ["x:private"]=> - array(3) { - ["a"]=> - int(101) - ["b"]=> - int(2) - ["c"]=> - int(3) - } + ["n"]=> + int(1) + ["x:private"]=> + array(2) { + ["b"]=> + int(2) + ["c"]=> + int(3) + } } ]]> </screen>