#23288 [Opn->Bgs]: $GLOBALS & INCLUDE
| From: | sniper@php.net | Date: | Mon, 21 Apr 2003 14:29:40 +0000 |
| Subject: | #23288 [Opn->Bgs]: $GLOBALS & INCLUDE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37966@lists.php.net to get a copy of this message | ||
ID: 23288
Updated by: sniper@php.net
Reported By: joshua at six6 dot nu
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: linux
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2003-04-20 14:54:47] joshua at six6 dot nu
//
------------------------------------------------------------------------
[2003-04-20 14:54:07] joshua at six6 dot nu
/* test.php
$html_smalls = ("sups");
\*
/* test2.php
smalls();
function smalls()
{
include ("test.php");
echo $GLOBALS['html_smalls'];
}
It won't output 'sups' if a file is included in a function.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23288&edit=1