From:             [EMAIL PROTECTED]
Operating system: windows xp
PHP version:      4.2.0
PHP Bug Type:     Variables related
Bug description:  globals variables dont work !!!!

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 bug report at http://bugs.php.net/?id=17522&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17522&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17522&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17522&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17522&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17522&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17522&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17522&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17522&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17522&r=globals

Reply via email to