Re: Segfault with tokenizer on Win32
| From: | Sebastian Bergmann | Date: | Wed, 08 May 2002 17:16:29 +0000 |
| Subject: | Re: Segfault with tokenizer on Win32 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83823@lists.php.net to get a copy of this message | ||
Sebastian Bergmann wrote:
> Does anyone have an idea why the following code crashes on Win32 in
> Release_TS mode, but not in Debug_TS mode (hence no stacktrace)?
Forgot to give a reproducing script:
<?php
require_once 'CodeParser.php';
$parser = new CodeParser('foo.php');
$tokens = $parser->getTokens();
print_r($tokens);
$source = $parser->getSource();
print_r($source);
?>
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/