[PHP-DEV] Bug #15289 Updated: Global variables do not work with session.

2002-01-30 Thread brubla
ID: 15289 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Session related Operating System: Linux PHP Version: 4.1.1 New Comment: You are right, but this construction 'global $counter' in non-function scope is using for example phpWebsite in included

[PHP-DEV] Bug #15289 Updated: Global variables do not work with session.

2002-01-29 Thread derick
ID: 15289 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Session related Operating System: Linux PHP Version: 4.1.1 New Comment: 1. Using global in a non-function scope doesn't make any sense. 2. When doing 'global $counter' you're setting a reference