note 111581 added to function.debug-backtrace
| From: | Anonymous | Date: | Wed, 06 Mar 2013 09:01:20 +0000 |
| Subject: | note 111581 added to function.debug-backtrace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-193953@lists.php.net to get a copy of this message | ||
A usual entry looks like this:
<?php
array(6) {
'file' =>
string(87) "DbSelector.php"
'line' =>
int(171)
'function' =>
string(5) "error"
'class' =>
string(42) "LoggingService"
'type' =>
string(2) "::"
'args' =>
array(1) {
[0] =>
string(27) "Connecting to DB: unittests"
}
}
?>
Be warned though that 'file' and 'class' do not reference the same thing!
'file' means which file calls the next step.
'class' is the next step being called.
So 'file' is the caller, 'class' is the callee.
----
Server IP: 69.147.83.199
Probable Submitter: 81.82.214.103
----
Manual Page -- http://php.net/manual/en/function.debug-backtrace.php
Edit -- https://master.php.net/note/edit/111581
Del: integrated -- https://master.php.net/note/delete/111581/integrated
Del: useless -- https://master.php.net/note/delete/111581/useless
Del: bad code -- https://master.php.net/note/delete/111581/bad+code
Del: spam -- https://master.php.net/note/delete/111581/spam
Del: non-english -- https://master.php.net/note/delete/111581/non-english
Del: in docs -- https://master.php.net/note/delete/111581/in+docs
Del: other reasons-- https://master.php.net/note/delete/111581
Reject -- https://master.php.net/note/reject/111581
Search -- https://master.php.net/manage/user-notes.php