Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

RE: [PHP3] 0 is not a result From: Richard Lynch (rlynch <email protected>)
Date: 08/25/99

In an ideal world, you would have verified any parse errors before you deploy.

But it looks like you are messing with eval, which throws all the rules out
the window.

Alas, PHP has nothing like the error trapping you would need to generalize
(or even hack) something where the syntax is generated run-time.

About the only languages I know that are really designed for that kind of
thing are Lisp descendants.

There is cl-http, a Common Lisp http server, you might want to look into.
It would have the sort of error trapping you are looking for, an extremely
dynamic development environment, and, if you grok object-oriented
programming and functional languages can be extremely cool...

At 05:03 PM 8/25/99 +0100, you wrote:
>
>
>> -----Original Message-----
>> From: Richard Lynch [mailto:rlynch <email protected>]
>> Sent: 24 August 1999 06:37 PM
>> To: Samuel Liddicott
>> Subject: RE: [PHP3] 0 is not a result
>>
>>
>> I'm pretty sure that @ in front of any function call or assignment will
>> suppress the error. You can then check suitable error variables/functions
>> as documented in the manual.
>
>Yeah; I wasn't thinking of function calls but other errors (like parse
>errors).
>
>Sam
>

-- 
"TANSTAAFL"  Websites I have built:
CHaTMusic.com      EmphasisEntertainment.com     L-I-E.com
JadeMaze.com       CatCatalani.com               MGMH.com
AstraKelly.com     OlivierLedoux.com

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>