com php-src: cleanup: phpdbg.c tutorials/intro.md

From: Date: Fri, 15 Nov 2013 16:17:57 +0000
Subject: com php-src: cleanup: phpdbg.c tutorials/intro.md
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-74940@lists.php.net to get a copy of this message
Commit: 8c67cf30b5453c44fd70b10c632690b064fbcf45 Author: krakjoe <joe.watkins@live.co.uk> Fri, 15 Nov 2013 16:17:57 +0000 Parents: 24c6e3c317685cc18bfc74e37b10b4d9c1b7fecd Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8c67cf30b5453c44fd70b10c632690b064fbcf45 Log: cleanup Changed paths: M phpdbg.c M tutorials/intro.md Diff: diff --git a/phpdbg.c b/phpdbg.c index 915fe2d..e02b1b3 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -54,11 +54,9 @@ static PHP_MINIT_FUNCTION(phpdbg) /* {{{ */ zend_execute = phpdbg_execute_ex; #endif - REGISTER_LONG_CONSTANT("PHPDBG_EMPTY", EMPTY_PARAM, CONST_CS|CONST_PERSISTENT); - REGISTER_LONG_CONSTANT("PHPDBG_ADDR", ADDR_PARAM, CONST_CS|CONST_PERSISTENT); REGISTER_LONG_CONSTANT("PHPDBG_FILE", FILE_PARAM, CONST_CS|CONST_PERSISTENT); REGISTER_LONG_CONSTANT("PHPDBG_METHOD", METHOD_PARAM, CONST_CS|CONST_PERSISTENT); - REGISTER_LONG_CONSTANT("PHPDBG_NUMERIC", NUMERIC_PARAM, CONST_CS|CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("PHPDBG_LINENO", NUMERIC_PARAM, CONST_CS|CONST_PERSISTENT); REGISTER_LONG_CONSTANT("PHPDBG_FUNC", STR_PARAM, CONST_CS|CONST_PERSISTENT); return SUCCESS; diff --git a/tutorials/intro.md b/tutorials/intro.md index 473f3d6..05d5708 100644 --- a/tutorials/intro.md +++ b/tutorials/intro.md @@ -34,6 +34,12 @@ phpdbg also includes a userland API to enable working with breakpoints from with proto void phpdbg_break([integer type, string expression]); ``` +The following type constants are registered by phpdbg: + + - PHPDBG_FILE + - PHPDBG_METHOD + - PHPDBG_LINENO + - PHPDBG_FUNC ```php /**

« previous php.cvs (#74940) next »