Bug #17522 Updated: globals variables dont work !!!!
| From: | derick@php.net | Date: | Thu, 30 May 2002 10:17:52 +0000 |
| Subject: | Bug #17522 Updated: globals variables dont work !!!! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8898@lists.php.net to get a copy of this message | ||
ID: 17522
Updated by: derick@php.net
Reported By: greg.burri@net2000.ch
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: windows xp
PHP Version: 4.2.0
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. 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
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-05-30 06:16:54] greg.burri@net2000.ch
It's very simple : that dont work !!!!!!!!!! :
<?php
function foo1($x)
{
function foo2()
{
global $x;
echo '$x =', $x, '<br>';
}
}
foo1(3);
?>
when you are doing recursivity the globals variables are very very very
important
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17522&edit=1