From:             [EMAIL PROTECTED]
Operating system: Red Hat 7.2
PHP version:      4.2.2
PHP Bug Type:     *General Issues
Bug description:  include self file

script.php

<?php
echo "hello\n";
include("script.php");
?>


if you try this you will get:
hello
hello
hello
...

and the script will failure

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

Reply via email to