register globals?

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
guice
Registered User
Posts: 46
Joined: Fri Oct 03, 2003 3:53 am

Re: register globals?

Post by guice »

phpBB 3.0 is being written to produce no notices or warnings about var's not being initiated even when running E_ALL.
What about E_STRICT? E_STRICT is not included in E_ALL.
NeoThermic
Registered User
Posts: 198
Joined: Fri Jan 02, 2004 3:44 pm
Location: United Kingdom
Contact:

Re: register globals?

Post by NeoThermic »

guice wrote:
phpBB 3.0 is being written to produce no notices or warnings about var's not being initiated even when running E_ALL.
What about E_STRICT? E_STRICT is not included in E_ALL.
E_STRICT is for PHP 5.0, which includes E_ALL's error reporting, so in theory, E_STRICT will have the same effect. See the reference page on PHP.net for more info.

NeoThermic
phpBB release date pool!
The NeoThermic.com... a well of information. Ask me for the bit bucket so you can drink its goodness. ||新熱です
guice
Registered User
Posts: 46
Joined: Fri Oct 03, 2003 3:53 am

Re: register globals?

Post by guice »

NeoThermic wrote:
guice wrote:
phpBB 3.0 is being written to produce no notices or warnings about var's not being initiated even when running E_ALL.
What about E_STRICT? E_STRICT is not included in E_ALL.
E_STRICT is for PHP 5.0, which includes E_ALL's error reporting, so in theory, E_STRICT will have the same effect. See the reference page on PHP.net for more info.

NeoThermic
In a way. E_STRICT actually catches a few more things above E_ALL. It will even kill the script if something isn't right, too. I think it would be a good idea to get phpBB3 working in E_STRICT. Especially since I run all my PHP5 instances in E_STRICT mode. :mrgreen:
NeoThermic
Registered User
Posts: 198
Joined: Fri Jan 02, 2004 3:44 pm
Location: United Kingdom
Contact:

Re: register globals?

Post by NeoThermic »

guice wrote: In a way. E_STRICT actually catches a few more things above E_ALL. It will even kill the script if something isn't right, too. I think it would be a good idea to get phpBB3 working in E_STRICT. Especially since I run all my PHP5 instances in E_STRICT mode. :mrgreen:
That would make phpBB 100% PHP5 compatable, but phpBB 3.0 is for both PHP4 and PHP5, so to make it as compatable as possible, E_ALL will be used. However, when phpBB reaches its RC stages, feel free to report bugs about phpBB failing under E_STRICT.

NeoThermic
phpBB release date pool!
The NeoThermic.com... a well of information. Ask me for the bit bucket so you can drink its goodness. ||新熱です
Post Reply