[Typo3-dev] Smart Content Rendering

Kasper Skårhøj kasper2005 at typo3.com
Thu Oct 27 07:19:55 CEST 2005


Hi Ingmar,

> If it was possible to restrict the available PHP functions in an
> included PHP file, I reckon the PHP way of templating would be pretty
> much perfect.

I completely agree with you on this! In fact, I spent some evening 18 months 
ago trying to produce a little PHP parser in PHP which could parse such a 
template script. The idea was not the RUN the PHP code but simply use the 
parser to check if only an allowed subset of PHP functionality was used 
inside. Such a template script was never executed by the PHP engine unless it 
had been approved with the parser. I think today there are some functions in 
PHP which can do this, Julle told me at least.

- kasper

-----------------
Think future, not feature




More information about the TYPO3-dev mailing list