|
Posted by Roman Khutkyy on 10/26/05 15:40
On Wed, 26 Oct 2005 01:17:59 +0300, <rich@newsguy.com> wrote:
> In article <1129384888.748848.184590@g47g2000cwa.googlegroups.com>,
> lkrubner@geocities.com says...
>>
>>
>> PHP does not ask developers to declare their variables. You can simply
>> create a variable on the fly. That is nice for small scripts and a
>> headache for large projects. Is there editor out there that enforces a
>> kind of strict mode? I don't need full variable typing, I just want an
>> editor that makes me declare all variable - at the very least I'd like
>> to be able to catch spelling errors.
>>
>
> I wish PHP had the "use strict" mode that Perl has. I've gotten
> accustomed to
> weeding out typos and goofy errors that take a little longer to debug
> now. Maybe
> it was too much of a crutch. I still catch myself starting with "my $var
> =... ".
> Maybe there's a settings in the php.ini file to output more information
> to the
> web error log, but wasn't seeing anything obvious.
>
> Rich
> --
> Newsguy -- http://newsguy.com
>
Free up then.
Give up with PHP.
Love Perl - us it. I hate PHP for such things too :)
--
Exact Meta Search
http://exactsearcher.com
Navigation:
[Reply to this message]
|