Re: XML array
| From: | Tamara Temple | Date: | Tue, 05 Jul 2011 17:43:30 +0000 |
| Subject: | Re: XML array | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313916@lists.php.net to get a copy of this message | ||
On Jul 5, 2011, at 10:47 AM, Stuart Dallas wrote:
$arr[] = array('name' => (string)$book->name, 'author' => (string)$book->author); }Interesting -- is the casting to string type necessary there? I haven't done that before, and it seems to have worked ok...