Bug #13641: Erroneous code makes PHP.EXE crash
| From: | rune at strand dot gs | Date: | Thu, 11 Oct 2001 10:42:54 +0000 |
| Subject: | Bug #13641: Erroneous code makes PHP.EXE crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-67760@lists.php.net to get a copy of this message | ||
From: rune@strand.gs
Operating system: Win32 (W2K)
PHP version: 4.0.6
PHP Bug Type: Reproducible crash
Bug description: Erroneous code makes PHP.EXE crash
<code>
<?php $str = "this is text"; $var = strtok($str); echo ?>
</code>
I know the code is wrong, but php.exe shouldn't crash.
I've got the Standard binary distribution for Win32 running as CGI binary
from the standard Apache binary distribution.
W2K error message:
"php-exe - Application Error
The instruction at 0x1004cbb3" referenced memory at 0x5b0a0d0a". The memory
could not be 'read'. Click OK to terminate the program"
Sorry; no gdb backtrace...
Thanks for doing great work!
--rune
--
Edit bug report at: http://bugs.php.net/?id=13641&edit=1