Re: Segfault with tokenizer on Win32
| From: | Sebastian Bergmann | Date: | Thu, 09 May 2002 05:42:15 +0000 |
| Subject: | Re: Segfault with tokenizer on Win32 | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83833@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
> theres a work around in there (basically you cant re assign
> $this->tokens = token_get_all() )
>
> you need to do something like
> $this->tokens_all[$file] = token_get_all($file);
> $this->tokens =& $this->tokens_all[$file]
Crashes here as well.
I just noticed, that Andrei's sample (php4/ext/tokenizer/tokenizer.php)
crashes as well. It didn't crash with CVS from some days ago.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/