Re: PHP 4.0 Bug #3779 Updated: Crash in syntax hilighter
| From: | Faisal Nasim | Date: | Thu, 09 Mar 2000 13:02:58 +0000 |
| Subject: | Re: PHP 4.0 Bug #3779 Updated: Crash in syntax hilighter | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-16571@lists.php.net to get a copy of this message | ||
<cut>
> Here is the minimal script that causes crash:
>
> <?
> $code = <<<END
> Directory="<?=$Dir;?>"
> END;
> highlight_string($code);
> ?>
Output on my system:
<code><font color="#000000">
<br>Directory="<font color="#0000BB"><?=</font><font
color="#007700">;</font>
<br></font>="#0000BB">?></font>"
</code>
Note: If I am not mistaking, you are a Zend
internals guy... we would expect a fix for
a bug as well! ;) (Oh, I know that PHP is not
Zend, but it seems to be a Zend error)
Zend Guys, is there any possibility to rewrite
the Zend engine in C++? It will make it alot
cleaner and possibly with less bugs (and perhaps
with more speed as well)!
Enjoy!
Faisal