note 69803 deleted from function.die by tularis
| From: | tularis@php.net | Date: | Thu, 15 Feb 2007 09:40:44 +0000 |
| Subject: | note 69803 deleted from function.die by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-123403@lists.php.net to get a copy of this message | ||
Note Submitter: zmorris at mac dot com
----
Hi, I posted a new trace( 'your message' ) function that doesn't require you to pass
__FILE_ and __LINE__ at:
http://www.php.net/debug_backtrace#69786
It works by using php's stack trace function, since php can't use macros for appending
__FILE_ and __LINE__ automatically like in c++. You can simply add die() to the bottom of trace()
if you want execution to stop.