Re: [PHP] back on bug 42065 , strange behavior with ArrayObject

2007-09-19 Thread Chris
Julien Pauli wrote: Wow, all right ; that's why casting to (array) before passing the variable , thus making a copy of it, works. Thanks for that short but effective answer ;-) However, except in the comments, this is not said in the original doc. It should be written ArrayObject ArrayObject::_

Re: [PHP] back on bug 42065 , strange behavior with ArrayObject

2007-09-19 Thread Julien Pauli
Wow, all right ; that's why casting to (array) before passing the variable , thus making a copy of it, works. Thanks for that short but effective answer ;-) However, except in the comments, this is not said in the original doc. It should be written ArrayObject ArrayObject::__construct ( mixed &$in

Re: [PHP] back on bug 42065 , strange behavior with ArrayObject

2007-09-19 Thread Chris
Julien Pauli wrote: Hi, at first, read that bug report : http://bugs.php.net/bug.php?id=42065 I would like to say that it doesn't seem to be fixed as it's said. When I execute the bug 42065 test case, it still fails. In reality, another code brought me to that bug, please consider this : http

[PHP] back on bug 42065 , strange behavior with ArrayObject

2007-09-19 Thread Julien Pauli
Hi, at first, read that bug report : http://bugs.php.net/bug.php?id=42065 I would like to say that it doesn't seem to be fixed as it's said. When I execute the bug 42065 test case, it still fails. In reality, another code brought me to that bug, please consider this : '2'); public function