note 94105 added to book.simplexml
| From: | antoine dot rabanes at gmail dot com | Date: | Fri, 16 Oct 2009 14:22:00 +0000 |
| Subject: | note 94105 added to book.simplexml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161806@lists.php.net to get a copy of this message | ||
if for some reasons you need the string value instead of the simpleXML Object you can cast the
return value as a string.
exemple:
$all_api_call = simplexml_load_file($url);
$all_api = array();
$all_api = $all_api_call->result;
$list_all_api_name = array();
$i = 0;
foreach ($all_api->children() as $funcky_function)
{
$string_tmp = (string )$funcky_function->function;
$list_all_api_name[$i++] = $putain;
}
...
----
Server IP: 69.147.83.197
Probable Submitter: 82.235.161.8
----
Manual Page -- http://www.php.net/manual/en/book.simplexml.php
Edit -- https://master.php.net/note/edit/94105
Del: integrated -- https://master.php.net/note/delete/94105/integrated
Del: useless -- https://master.php.net/note/delete/94105/useless
Del: bad code -- https://master.php.net/note/delete/94105/bad+code
Del: spam -- https://master.php.net/note/delete/94105/spam
Del: non-english -- https://master.php.net/note/delete/94105/non-english
Del: in docs -- https://master.php.net/note/delete/94105/in+docs
Del: other reasons-- https://master.php.net/note/delete/94105
Reject -- https://master.php.net/note/reject/94105
Search -- https://master.php.net/manage/user-notes.php