ID: 12815
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Session related
Operating System: W2K
PHP Version: 4.0.6
New Comment:

Read the piece about variabeles and scopes in the manual.
This is not a bug.

Previous Comments:
------------------------------------------------------------------------

[2001-08-17 12:49:11] [EMAIL PROTECTED]

I do not know if this is a bug or if I am doing something very wrong

<?
session_start();
session_register("sess_uid");
$sess_uid=1; //THIS WORKS

function foo(){
   $sess_uid=2; // WHY WHY WHY IT DOES ---NOT--- WORK
   echo "<a href='next.php'>Continue</a>";
}
foo();
?>

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12815&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to