You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@ So the obvious question is: What do I use instead when I want to inspect my Simp
12
12
What?
13
13
=====
14
14
15
-
The first piece of this project (more may be to come) is a simple function - `simplexml_dump()` - which echoes a basic summary of any `SimpleXMLElement` object you give it.
15
+
* The first piece of this project is a simple function - `simplexml_dump()` - which echoes a basic summary of any `SimpleXMLElement` object you give it.
16
+
* Early feedback from users on StackOverflow was that a fully recursive function would be useful, although this would obviously need to do something different from an XML pretty-printer. The next function is therefore `simplexml_tree()` which shows an entire XML structure in summarised tree form. The output is designed to show exactly what operators and methods are needed to access each node shown.
0 commit comments