1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00
This commit is contained in:
krakjoe
2013-11-17 19:07:12 +00:00

View File

@@ -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;
} /* }}} */