Torben Nehmer wrote:
> I've got it ...
Great! Does this mean the date is off?
> I've played around with the cache files, thanks to your MMP, Emiliano,
> great stuff *gg*.
Much better, innit?
> The line which caused the trouble (see the .html file of the other
> mail) was the eval in this block:
>
> if($page && $myForm) {
> /*
> echo show_var("myForm", $myForm->output);
> ?></td></tr></table></td></tr></table>
> </td></tr></table>
> </td></tr></table>
> <table><tr><td>
> <table><tr><td>
> <table><tr><td width="50%" valign="top"><table width="100%"><tr><td
> align="left" valign="top"><?
> */
> eval ("?>$myForm->output<?");
> } else {
>
> If you change the eval to mgd_eval, everything works out fine.
>
> Seems like PHP has changed its eval during the update from 4.0.x to
> 4.1.x.
Any idea in what way it was changed? Does this eval generate an error,
or does it fail silently? Anything midgard-specific in $myForm->output?
> Since many projects rely on the eval (I've never bothered using
> mgd_eval, though I knew it existed), we should find a way to make this
> function working again... (Or make it clear that you've to use mgd_eval
> and rewrite some code)
If eval is buggy, Zend should fix it. I don't really want to alter the
behaviour of the standard Zend eval. That way lie dragons.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]