Re: back on bug 42065 , strange behavior with ArrayObject
| From: | Chris | Date: | Thu, 20 Sep 2007 00:44:00 +0000 |
| Subject: | Re: back on bug 42065 , strange behavior with ArrayObject | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262263@lists.php.net to get a copy of this message | ||
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::__construct ( mixed &$input ) shouldn't it ?I guess it's time to post a documentation bug :) I'm sure they'd also appreciate a patch if possible. -- Postgresql & php tutorials http://www.designmagick.com/