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...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php