Re: XML array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux