# minor change fixed major bug in tokenizer

- Thread: https://externals.io/message/8429
- Original archive: https://news-web.php.net/php.internals/8429
- Started by Greg Beaver on 2004-03-08T05:07:59+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #8429 — Greg Beaver — 2004-03-08T05:07:59+00:00

URL: https://externals.io/message/8429#8429

Hi all,

can someone with a spare moment apply the patch in 
http://bugs.php.net/bug.php?id=24550 to tokenizer.c?  It fixes a crash 
when tokenizing anything with __METHOD__ in it (bad)

Thanks,
Greg

---

## #8430 — Derick Rethans — 2004-03-08T08:08:40+00:00

URL: https://externals.io/message/8429#8430 · In reply to: #8429

> Hi all,
>
> can someone with a spare moment apply the patch in
> http://bugs.php.net/bug.php?id=24550 to tokenizer.c?  It fixes a crash
> when tokenizing anything with __METHOD__ in it (bad)

Done, although I couldn't get it to crash at all...

Derick

---

## #8447 — Greg Beaver — 2004-03-08T16:22:11+00:00

URL: https://externals.io/message/8429#8447 · In reply to: #8430

Hi Derick and all,

I downloaded a snapshot from last Friday, and it didn't crash.  I don't 
know what I'm doing wrong, is there anything obviously awry with my 
configure statement?

C:\WINNT\SYSTEM32\cscript.exe /nologo configure.js 
--enable-prefix=C:\php5 --with-php-build=C:\usr\local 
--with-extra-includes=C:\usr\local\include 
--with-extra-libs=C:\usr\local\lib --enable-debug --enable-apache 
--with-apache-includes=C:\l\apache-1.3.27\src\include 
--with-apache-libs=C:\l\apache-1.3.27\src\lib

It turns out that it crashes even with my patch, so there is something 
else going on.  I did a fresh CVS checkout to make sure that wasn't the 
problem.

Thanks,
Greg

Derick Rethans wrote:
> 
> 
> 
> > […]
> 
> 
> Done, although I couldn't get it to crash at all...
> 
> Derick
