Re: issues about domxml in 4.0.6

From: Date: Thu, 17 May 2001 06:35:46 +0000
Subject: Re: issues about domxml in 4.0.6
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-55579@lists.php.net to get a copy of this message
On Yesterday, Colin Viebrock wrote: > > > I've contacted Uwe, and if he doesn't object (or respond ;) within the > > next day or so, I'll revert the commit in the 4_0_6 branch (leaving head > > alone). > > Whoa. > > Are you saying that 4.0.6 will revert to the domxml "syntax" that was in > 4.0.4 and previous? And that 4.0.5 will just have it's own "syntax"? no, i don't think, either, that this would be a good idea. but in 4.0.5 the "old" and the "new" syntax worked (i'm not sure what's really old and what's new....). so if i want to get the childrens of a root domNode i could write: $children = domxml_children($root); (the old method ?) or $children = $root->children; (i assume the new one...) in 4.0.5 both worked. in 4.0.6 only the second works, the first causes a segfault... and segfaults are very annoying for debugging php-code (and maybe some coders even don't know, where their error_log file is to look for segfaults...) and if you compare the returned array $children from the above example in 4.0.5 and in 4.0.6 they are quite different, and that's much more annoying for writing cross-version (what a word...) code. If the this change stays in 4.0.6 please please at least update the documentation and clearly state the difference between 4.0.5 and 4.0.6. chregu -- nam...christian stocker adr...bremgartnerstr. 66, ch-8003 zurich pho...+41 1 451 6021 www...http://phant.ch/chregu mob...+41 76 561 8860 ema...chregu@phant.ch

« previous php.dev (#55579) next »