mirror of
https://github.com/php/php-src.git
synced 2026-04-02 21:52:36 +02:00
Merge branch 'master' of https://github.com/krakjoe/phpdbg
This commit is contained in:
@@ -41,6 +41,12 @@ PHPDBG_INFO(files) /* {{{ */
|
||||
|
||||
PHPDBG_INFO(error) /* {{{ */
|
||||
{
|
||||
if (PG(last_error_message)) {
|
||||
phpdbg_writeln("Last error: %s at %s line %d",
|
||||
PG(last_error_message), PG(last_error_file), PG(last_error_lineno));
|
||||
} else {
|
||||
phpdbg_notice("No error found!");
|
||||
}
|
||||
return SUCCESS;
|
||||
} /* }}} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user