Re: [PHP4BETA] odd class behaviour.
| From: | Andi Gutmans | Date: | Wed, 09 Jun 1999 20:16:30 +0000 |
| Subject: | Re: [PHP4BETA] odd class behaviour. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1419@lists.php.net to get a copy of this message | ||
Thanks for the steady flow of well documented easily reproducible bug reports!
It's fixed now :)
Andi & Zeev (He's here right now:)
At 12:45 09/06/99 +0200, Thies C. Arntzen wrote:
(latest CVS) <? class hallo { var $s = array("SGML" => 1,"DOCUMENT" => 1,"HEAD" => 1,"BODY" => 1,"TRAILER" => 1,"DCCTX" => 1); var $test = array("aaa" => 1,"bbb" => 2,"ccc" => 3); } $t = new hallo; var_dump($t->test); var_dump($t->s); ?> prints: Content-Type: text/html array(3) { int(1) string(3) "aaa" int(2) string(3) "bbb" int(3) string(3) "ccc" } array(1) { int(1) string(5) "DCCTX" } php3 says: Content-type: text/html array(3) { string(3) "aaa" int(1) string(3) "bbb" int(2) string(3) "ccc" int(3) } array(6) { string(4) "SGML" int(1) string(8) "DOCUMENT" int(1) string(4) "HEAD" int(1) string(4) "BODY" int(1) string(7) "TRAILER" int(1) string(5) "DCCTX" int(1) } or is that the "know" incompatiblity regarding dynamic (it's not really isn't it) to php3? regards, tc--- Andi Gutmans <andi@zend.com> ICQ: 1568297Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany-- PHP 4 Beta