PHP 4.0 Bug #9975: perse error causes core dump
| From: | jr at hyphen dot org | Date: | Sun, 25 Mar 2001 08:35:15 +0000 |
| Subject: | PHP 4.0 Bug #9975: perse error causes core dump | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49901@lists.php.net to get a copy of this message | ||
From: jr@hyphen.org
Operating system: solaris 2.7
PHP version: 4.0.4pl1
PHP Bug Type: Reproduceable crash
Bug description: perse error causes core dump
the following code will cause "php -l" to core dump:
strtoupper(;
yes, there should be a closing parenthesis. but i would think that the parser should see that and
complain approriately. in fact, i thought that i've seen it do it before. i'm guessing
that any function can cause this. strtoupper() was just a random test.
--
Edit Bug report at: http://bugs.php.net/?id=9975&edit=1