Posted by Tony Marston on 10/28/01 11:57
"M D" <md@md.com> wrote in message news:vxvLg.16223$rd7.14202@edtnps89...
>
> "Tony Marston" <tony@NOSPAM.demon.co.uk> wrote in message
> news:edjpoq$599$1$8300dec7@news.demon.co.uk...
>> You are talking absolute crap. If you have a syntax error then PHP will
>> choke as soon as you attempt to run that script. As well as describing
>> the error it will also tell you the line number where it occurred. This
>> assumes of course that you have RTFM and set the following in your
>> php.ini file:
>>
>> display_errors = On
>> error_reporting = E_ALL
>>
>> --
>> Tony Marston
>>
>> http://www.tonymarston.net
>> http://www.radicore.org
>>
>>
> Maybe it depends on the everybody's preference.
>
> For my case I don't want to wait until you run the script.
> I want to fix my syntax error as i create a class or bean.
Then you are simply too impatient for your own good. You *have* to run the
script through a syntax checker before it can detect any syntax errors,
especially if your IDE is nothing more than a primitive text editor. If you
use a proper IDE, such as Zend Studio, it can give you hints that your
syntax is wrong as you type.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Navigation:
[Reply to this message]
|