tedd wrote:
At 1:46 PM +0100 7/17/07, Stut wrote:
... but you can get
some of the way there by enabling the display of notices which will tell
you whenever a variable is used without being initialised.
How?
Look in php.ini for error_reporting. With it enabled if you try to use a
variable wi
At 1:46 PM +0100 7/17/07, Stut wrote:
... but you can get
some of the way there by enabling the display of notices which will tell
you whenever a variable is used without being initialised.
How?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
On Tue, July 17, 2007 7:01 am, Man-wai Chang wrote:
> Is there a parameter in php.ini that requires all variables to be
> explicitly initialized, rather than being automatically assigned the
> value of false?
No.
There is a parameter in php.ini that tells you when you USE an
uninitialized variabl
Man-wai Chang wrote:
> Is there a parameter in php.ini that requires all variables to be
> explicitly initialized, rather than being automatically assigned the
> value of false?
I think you'll find they get assigned the value of null, not false.
There is no setting that enforces such a requiremen
On Tue, Jul 17, 2007 at 08:01:59PM +0800, Man-wai Chang wrote:
>
> Is there a parameter in php.ini that requires all variables to be
> explicitly initialized, rather than being automatically assigned the
> value of false?
>
Well, I am not aware of such php.ini variable, but I may recomment to
in
Is there a parameter in php.ini that requires all variables to be
explicitly initialized, rather than being automatically assigned the
value of false?
--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Xubuntu 7.04) Linux 2.
6 matches
Mail list logo