Re: [PHP] Variables scope question

2003-12-03 Thread Mike D
y an example? > > Martin > >> -Original Message- >> From: Mike D [mailto:[EMAIL PROTECTED] >> Sent: Thursday, 4 December 2003 10:35 AM >> To: PHP General list >> Subject: [PHP] Variables scope question >> >> >> Hello, >>

RE: [PHP] Variables scope question

2003-12-03 Thread Martin Towell
This doesn't sound right. It's doesn't behave like this for me. Can you supply an example? Martin > -Original Message- > From: Mike D [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 December 2003 10:35 AM > To: PHP General list > Subject: [PHP] Variable

[PHP] Variables scope question

2003-12-03 Thread Mike D
Hello, I have recently noticed something that I wasn't aware of until now. I have index.php which contains include1.txt and include2.txt. If a variable is set in include1.txt it will *only* have a local scope, even if I declare it GLOBAL. Is this normal or a bug? - MD