note 102103 added to language.constants.predefined
| From: | jerilkc at gmail dot com | Date: | Thu, 27 Jan 2011 06:27:54 +0000 |
| Subject: | note 102103 added to language.constants.predefined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-176376@lists.php.net to get a copy of this message | ||
it don't work if fatal error occurs
<?php
// include.php file
echo "<pre>";
function a() {
b();
}
function b() {
c();
}
function c(){
debug_print_backtrace();
}
echo $a();
print_r(error_get_last());
echo "</pre>";
?>
output:
Notice: Undefined variable: a in /var/www/html/workbench/jeril/backtrace.php on line 16
Fatal error: Function name must be a string in /var/www/html/workbench/jeril/backtrace.php on line
16
----
Server IP: 69.147.83.197
Probable Submitter: 122.166.42.191
----
Manual Page -- http://www.php.net/manual/en/language.constants.predefined.php
Edit -- https://master.php.net/note/edit/102103
Del: integrated -- https://master.php.net/note/delete/102103/integrated
Del: useless -- https://master.php.net/note/delete/102103/useless
Del: bad code -- https://master.php.net/note/delete/102103/bad+code
Del: spam -- https://master.php.net/note/delete/102103/spam
Del: non-english -- https://master.php.net/note/delete/102103/non-english
Del: in docs -- https://master.php.net/note/delete/102103/in+docs
Del: other reasons-- https://master.php.net/note/delete/102103
Reject -- https://master.php.net/note/reject/102103
Search -- https://master.php.net/manage/user-notes.php