Re: [PHP4BETA] [Q] dom function bug?

From: Date: Sat, 03 Jun 2000 19:10:26 +0000
Subject: Re: [PHP4BETA] [Q] dom function bug?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-16111@lists.php.net to get a copy of this message
Hi All, I have the same problem. $node->attributes(); does not give an array. This seems to be a bug, isn't it ? Or it is a bad usage ? Anyway: $node->getattr("attrname"); works fine but you have to know the name of the attr to read it ! Cheers, Giosue' "Kim, Sung-Sik" wrote: > problem #1) > The return value of "node->attributs()" is not ARRAY; ( 8 line of test.php ) > if i put var_dump($attributes); at 8 line in test.php, result of var_dump($attributes) is > starnge. > > problem #2) > if i put "$node->parent()" at 7 line in test.php for test, test.php script is > die. >

« previous php.version4 (#16111) next »