FFArmageddon
06-04-2003, 07:44 PM
As some of you may know, I am learning PHP.
In the book I am using I came to a chapter about functions. It explained the use of strict.
I do not fully understand what strict does. From what I read (I'm probebly wrong) but it makes it so a variable cannot be used outside of a function. But if you do not add global to the beginning of a variable in a function doesnt that do the same thing?
What is strict actually for? Thanks in advance.
In the book I am using I came to a chapter about functions. It explained the use of strict.
I do not fully understand what strict does. From what I read (I'm probebly wrong) but it makes it so a variable cannot be used outside of a function. But if you do not add global to the beginning of a variable in a function doesnt that do the same thing?
What is strict actually for? Thanks in advance.