Re: zend_bailout() crash.
| From: | Wez Furlong | Date: | Wed, 19 Jun 2002 09:57:14 +0000 |
| Subject: | Re: zend_bailout() crash. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85336@lists.php.net to get a copy of this message | ||
Maybe, but I can't test it right now.
Let's not commit anything until I can devote more time to it.
At a half-informed guess, it looks OK (generally), but something
like this:
<script language="ActivePHP">
$a = "hello";
</script>
<script language="ActivePHP">
exit;
</script>
<script language="ActivePHP">
$document->write($a);
</script>
is probably not wise if the exit statement causes the ZE to
tidy up it's internal state: I would expect a crash on the
third code-block.
So, we might need to override the default exit statement
behaviour, somehow?
--Wez.
On 19/06/02, "moshe doron" <mosdoron@netvision.net.il> wrote:
> well u right thats fix 81% of the bugs i know about...
> so may u commit ur code (i have no CVS acount) and also
>
> on line ~590:
> + zend_try{
> zend_execute(frag->opcodes TSRMLS_CC);
> + }zend_end_try();
>
> Wez (on Cc) do u agree those changes?