|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Submitted: 2003-04-20 14:54 UTC Modified: 2003-04-21 09:29 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: joshua at six6 dot nu Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.3.1 OS: linux
Private report: No CVE-ID: None
 [2003-04-20 14:54 UTC] joshua at six6 dot nu
/* test.php
 $html_smalls = ("sups");

/* test2.php
function smalls()
 include ("test.php");
   echo $GLOBALS['html_smalls'];

 It won't output 'sups' if a file is included in a function.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-20 14:54 UTC] joshua at six6 dot nu
 [2003-04-21 09:29 UTC]
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 as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 09:01:29 2024 UTC