com php-src: Add xml.md info for info constants: xml.md

From: Date: Mon, 20 Oct 2014 19:22:16 +0000
Subject: com php-src: Add xml.md info for info constants: xml.md
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82528@lists.php.net to get a copy of this message
Commit: 27629577b07efb18b7fbcdf4faeffef67d6cec64 Author: Bob Weinand <bobwei9@hotmail.com> Mon, 20 Oct 2014 21:22:16 +0200 Parents: d410b23f90505a6f68d4956e8c114860b9040ed2 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=27629577b07efb18b7fbcdf4faeffef67d6cec64 Log: Add xml.md info for info constants Changed paths: M xml.md Diff: diff --git a/xml.md b/xml.md index 0675634..1cb1646 100644 --- a/xml.md +++ b/xml.md @@ -251,6 +251,23 @@ info (subcommands) - &lt;lasterror error="" (file="" line="") /> - error attribute contains the last error as a string, is empty if there's no last error +### constants ### + +- &lt;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 &lt;constant> element +- &lt;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 ### - &lt;variableinfo num="" /> with num having an integer value, indicating the number of (local or superglobal) variables @@ -259,7 +276,7 @@ info (subcommands) - function - file - opline -- for each variable there is a &lt;variable> followed by a &lt;variabledetails> element +- for each variable there is a &lt;variable> element - &lt;variable address="" refcount="" type="" name="" /> - address: pointer to zval (hexadecimal) - refcount: refcount of zval

« previous php.cvs (#82528) next »