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      [EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to