#21567 [NEW]: die(__LINE__); gives no output
| From: | chen at hivemail dot com | Date: | Fri, 10 Jan 2003 14:40:22 +0000 |
| Subject: | #21567 [NEW]: die(__LINE__); gives no output | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-29678@lists.php.net to get a copy of this message | ||
From: chen@hivemail.com
Operating system: Windows XP
PHP version: 4.2.3
PHP Bug Type: *Programming Data Structures
Bug description: die(__LINE__); gives no output
Dying like this:
die(__LINE__);
Doesn't work, i.e the script dies without any output.
Still, this works as expected:
die(__FILE__);
As does this:
die('Gone to sleep at line: '.__LINE__);
Chen
--
Edit bug report at http://bugs.php.net/?id=21567&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21567&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21567&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21567&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21567&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21567&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21567&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21567&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21567&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21567&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21567&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21567&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21567&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21567&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21567&r=gnused