From:             [EMAIL PROTECTED]
Operating system: Windows NT 5.0 build 2195
PHP version:      4.2.2
PHP Bug Type:     Scripting Engine problem
Bug description:  including __FILE__

If you include the file is beeing parsed, either with __FILE__ or with the
filename, apache (I just tested on apache and php 4.2.2) will crash.

<?php
include __FILE__;
?>

OR

<?php
// __FILE__ == 'test.php'; true
include 'test.php';
?>

result: Apache.exe has generated errors and will be closed by Windows...
(and so on)



-- 
Edit bug report at http://bugs.php.net/?id=19910&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19910&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19910&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19910&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19910&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19910&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19910&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19910&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19910&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19910&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19910&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19910&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19910&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=19910&r=isapi

Reply via email to