|
Posted by d on 09/26/90 11:37
"magilla" <jim.richardson@jax.org> wrote in message
news:1137506263.350278.111170@g47g2000cwa.googlegroups.com...
> I'm a old timer programmer (assembler, fortran, pascal, C) and now
> converting from PERL to PHP. In PERL I always use the "use strict" to
> force warning messages of undeclared variables. I haven't been able to
> find anything similar in PHP, is there such an option? When you type
> as bad as I do, having the PHP interpretor/compiler find misspelled
> variable names expedites the debugging process.
>
> Magilla...
>
If you turn your error reporting on:
http://uk.php.net/error_reporting
It will indeed give you helpful messages like:
Notice: Undefined variable: somethin in /blah/woo/waah.php
:)
Navigation:
[Reply to this message]
|