The PHP 3 debugger protocol is line_based. Each line has a
type, and several lines compose a
message. Each message starts with a line of
the type start and terminates with a line of
the type end. PHP 3 may send lines for different
A line has this format:
date time host(pid) type: message_data
Date in ISO 8601 format
Time including microseconds:
DNS name or IP address of the host where the script error was
PID (process id) on host of the
process with the PHP 3 script that generated this error.
Type of line. Tells the receiving program about what it
should treat the following data as:
Table E_1. Debugger Line Types
Tells the receiving program that a debugger message
starts here. The contents of
data will be the type of error
message, listed below.
The PHP 3 error message.
File name and line number where the error occurred. The
first location line will always
contain the top_level location.
data will contain
There will always be a location line
after message and after every
Number of frames
in the following stack dump. If there are four frames,
expect information about four levels of called functions.
If no "frames" line is given, the depth should be assumed
to be 0 (the error occurred at top_level).
Name of function where the error occurred. Will be
repeated once for every level in the function call
Tells the receiving program that a debugger message ends