summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/xml.md
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/phpdbg/xml.md')
-rw-r--r--sapi/phpdbg/xml.md110
1 files changed, 1 insertions, 109 deletions
diff --git a/sapi/phpdbg/xml.md b/sapi/phpdbg/xml.md
index 0556fb2415..7871b31376 100644
--- a/sapi/phpdbg/xml.md
+++ b/sapi/phpdbg/xml.md
@@ -60,7 +60,6 @@ type
- general attribute for most errors, describes the genre of the error
-
General tags
============
@@ -78,11 +77,6 @@ intro
- help: command name for help
- report: URL for bug reporting
-prompt
-------
-
-- msg tag contains the text prompt
-- indicates that a new command may be accepted
phpdbg
------
@@ -257,23 +251,6 @@ info (subcommands)
- <lasterror error="" (file="" line="") />
- error attribute contains the last error as a string, is empty if there's no last error
-### constants ###
-
-- <constantinfo num="" /> with num having an integer value, indicating the number of (local or superglobal) variables
-- if info vars was used it'll have also one of these attributes:
- - method
- - function
- - file
- - opline
-- for each variable there is a <constant> element
-- <constant address="" refcount="" type="" name="" />
- - address: pointer to zval (hexadecimal)
- - refcount: refcount of zval
- - type: the variable type (long, string, ...). If the value is "unknown", the other attributes are meaningless
- - name: the name of the variable
- - value: the value of primitive types (scalars) => string/int/bool/double
- - length: if string, then the length of that string
-
### vars / globals ###
- <variableinfo num="" /> with num having an integer value, indicating the number of (local or superglobal) variables
@@ -282,7 +259,7 @@ info (subcommands)
- function
- file
- opline
-- for each variable there is a <variable> element
+- for each variable there is a <variable> followed by a <variabledetails> element
- <variable address="" refcount="" type="" name="" />
- address: pointer to zval (hexadecimal)
- refcount: refcount of zval
@@ -291,8 +268,6 @@ info (subcommands)
- refstatus: empty if the zval is not a reference
- class: the class the object in the zval is an instance of
- resource: the type of the resource in the zval
- - value: the value of primitive types (scalars) => string/int/bool/double
- - length: if string, then the length of that string
### literal ###
@@ -461,8 +436,6 @@ ev
- eval()uates some code
- output wrapped in <eval> tags
-- output is here first a dump of xml tags (see "Variable Dump" section), then a dump wrapped in <stream> tags
-- if there's an error, the tag will be <eval>, instead of the usual <php> tag
sh
--
@@ -636,7 +609,6 @@ dl
- errors may have the module or extension attribute when their name is already known at the point of failure
-
Other tags
==========
@@ -677,83 +649,3 @@ Other tags
- generally emitted when data couldn't be fetched (e.g. by accessing inconsistent data); only used in hard interrupt mode
- it might mean that data couldn't be fetched at all, or that only incomplete data was fetched (e.g. when a fixed number of following attributes are fetched, this tag will mark a stop of fetching if none or not all tags were printed)
-
-
-Variable Dump
-=============
-
-- all except property and element tags have a refstatus attribute, is set to non-empty if it's a reference
-
-object properties
------------------
-
-- wrapped in a property tag &lt;property name="" protection="">
- - name: name of key
- - protection: one of these three values: public / protected / private
- - class: only present if protection attribute is set to "private", contains the name of the class to which the property belongs
-- if the property tag contains any serverity="error" attribute, there was some crucial error to read it, just skip it
-
-array elements
---------------
-- wrapped in an element tag &lt;property name="" protection="">
- - name: name of key
-- if the element tag contains any serverity="error" attribute, there was some crucial error to read it, jsut skip it
-
-int
----
-
-- &lt;int refstatus="" value="" />
- - value is the integer
-
-float
------
-
-- &lt;float refstatus="" value="" />
- - value is the float
-
-bool
-----
-
-- &lt;bool refstatus="" value="" />
- -value: true or false
-
-string
-------
-
-- &lt;string refstatus="" length="" value="" />
- - length: length or string
- - value: the string
-
-null
-----
-
-- &lt;null refstatus="" />
-
-array
------
-
-- &lt;array refstatus="" num="">
- - num: number of elements
- - contains &lt;element> tags
-
-object
-------
-
-- &lt;object refstatus="" class="" id="" num="">
- - class: name of the class the object is an instance of (may be empty if unknown)
- - id: id of the object
- - num: number of properties
- - contains &lt;property> tags
-
-resource
---------
-
-- &lt;resource refstatus="" id="" type="" />
- - id: resource id
- - type: type of resource
-
-recursion
----------
-
-- &lt;recursion />
-- if that tag appears, there's a recursive reference inside the value to be printed