Re: Re[2]: More accurate compiled file names

Antony Dovgal <[email protected]>
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
On Mon, 31 May 2004 00:24:34 +0400
Dmitry Koteroff <[email protected]> wrote:

> I  am trully shure that it is IMPOSSIBLE to handle all PHP errors
> while  compiling  the  template.  

Why?
To check if such method/function/whatever exists is quite easy imho.

> And  more - it is not good from
> design  point of view - handle errors of one subsystem (PHP) from
> another subsystem (Smarty).

Why do you think so?
Smarty handles a lot of similar errors on parsing stage, so why not to
handle them all?

> Perl  has  a  very  powerful  eval().  PHP's  eval  is  much more
> primitive  -  it  does  not allow us to handle critical errors (I
> don't  know  why). So, the only method to improve debugging is to
> simplify detection of buggy file.

Hmm.. how can eval() help us, if Smarty doesn't use it at all?

-- 
Wbr, 
Antony Dovgal aka tony2001
[email protected] || [email protected]

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.