I have read register globals will not be available in PHP6. Does it mean we'll not be able to use such type of code
ORPHP Code:function a()
{
global $b;
$b = 10;
}
a();
echo $b;
We'll be unable to receive get/post/cookie/session values using global?
To experiment this, I have disabled register_globals in phpi.ini and run the 1st code. But can easily get the value of $b. Now I am confused by the term register globals.





Bookmarks