Re: is there a php editor of developer environment that asks for variables to be declared?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: is there a php editor of developer environment that asks for variables to be declared?

From: Roman Khutkyy <roman@roman.roman>
Date: Wed Oct 26 2005 - 14:40:19 CEST

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
Received on Mon Nov 21 02:50:18 2005