2013-11-15 15:59:54 +00:00
|
|
|
##############################################
|
2013-11-14 17:29:21 +00:00
|
|
|
# .phpdbginit
|
2013-11-15 15:59:54 +00:00
|
|
|
#
|
|
|
|
# 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 ...
|
|
|
|
##############################################
|