From: krakjoe Date: Fri, 15 Nov 2013 15:59:54 +0000 (+0000) Subject: tidy example X-Git-Tag: php-5.6.0alpha1~110^2~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b615298bfa368748f166c62f4bb89d695f0d343;p=php tidy example --- diff --git a/.phpdbginit b/.phpdbginit index 3e44053b20..5de88c7ba0 100644 --- a/.phpdbginit +++ b/.phpdbginit @@ -1,18 +1,26 @@ -####################################################### +############################################## # .phpdbginit -####################################################### -# By default phpdbg will look for .phpdbginit -# in the current working directory. -# This default can be overridden with the -i option -# -# The commands contained in an init file are executed -# and when the environment is cleaned (clean|X) -# -# Q -# b f my_function -# b m my::method -# e my.php -# c -php: - -end; +# +# Lines starting with # are ignored +# Code must start and end with <: and :> respectively +############################################## +# Place initialization commands one per line +############################################## +# exec sapi/phpdbg/test.php + +############################################## +# Embedding code in .phpdbginit +############################################## +<: +/* +* This embedded PHP is executed at init time +*/ + +/* phpdbg_break(PHPDBG_METHOD, "phpdbg::method"); */ +/* phpdbg_break(PHPDBG_FUNC, "my_global_function"); */ +/* phpdbg_break(PHPDBG_FILE, "/path/to/file.php:10"); */ +:> + +############################################## +# Now carry on initializing phpdbg ... +##############################################