On 25-06-2010 at 11:57:12 Per Bernhardt <p...@webfactory.de> wrote:
For me it is exactly the other way around :)
When I return true in
PHPTAL_Php_Attribute_METAL_FillSlot::shouldUseCallback(), my actual
template works fine!
Returning false (and so disabling the optimisation) breaks the result.
It is the same with beta and the latest svn.
So maybe you should always use callbacks / optimisation?
There's a setup cost involved for callback, so it doesn't make sense for
very short slots.
I'd rather fix code for both cases.
PHPTAL mailing list