From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.1.2
PHP Bug Type: Performance problem
Bug description: problem with & operator and variables
this is ok
<?
$a=&$b;
$a=5;
echo($b);
?>
but when I declare these variables as globals in a function it doesn't
work
<?
function foo() {
global $a, $b;
$a=&$b;
}
foo();
$a=5;
echo($b);
?>
It is probably allright. I didn't find anything about this problem.
--
Edit bug report at http://bugs.php.net/?id=17052&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17052&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17052&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17052&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17052&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17052&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17052&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17052&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17052&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17052&r=globals