note 79053 added to function.simplexml-element-attributes
| From: | matt at signpost dot com | Date: | Thu, 08 Nov 2007 12:12:46 +0000 |
| Subject: | note 79053 added to function.simplexml-element-attributes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132109@lists.php.net to get a copy of this message | ||
It is worth mentioning that if you try to check for attributes when none exists, the PHP compiler
just crashes.
So you either need to check for the tag and do a preg_match for attributes or some other sort of
check before you use this function.
----
Server IP: 87.124.64.96
Probable Submitter: 78.32.135.244
----
Manual Page -- http://www.php.net/manual/en/function.simplexml-element-attributes.php
Edit -- https://master.php.net/note/edit/79053
Del: integrated -- https://master.php.net/note/delete/79053/integrated
Del: useless -- https://master.php.net/note/delete/79053/useless
Del: bad code -- https://master.php.net/note/delete/79053/bad+code
Del: spam -- https://master.php.net/note/delete/79053/spam
Del: non-english -- https://master.php.net/note/delete/79053/non-english
Del: in docs -- https://master.php.net/note/delete/79053/in+docs
Del: other reasons-- https://master.php.net/note/delete/79053
Reject -- https://master.php.net/note/reject/79053
Search -- https://master.php.net/manage/user-notes.php