Re: [PHP] Evaluating php code.

2002-04-03 Thread Rasmus Lerdorf
p > either, as these given variables/objects > will not necessarly be available in the scope outside of this method either. > > So... > Is there any way of telling the parser to ignore this fatal error and carry > on, or alernatively, > a way of parsing a string at face value fo

Re: [PHP] Evaluating php code.

2002-04-03 Thread Scott Houseman
t is much appreciated Regards Scott - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Scott Houseman" <[EMAIL PROTECTED]> Cc: "php-general" <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 10:33 AM Subject: Re: [PHP] Eva

Re: [PHP] Evaluating php code.

2002-04-03 Thread Rasmus Lerdorf
> Ideally, i'd like to evaluate the code the user has submitted, and if an > error is generated, notify the user of that fact. > Eval always returns false, and I'd like no runtime error to be generated. > Perhaps an error-handler is what's needed? > > What can you suggest? I think this should ill