Bug #706: explode("\0", anystring) crashes
| From: | sgk at happysize dot co dot jp | Date: | Sun, 30 Aug 1998 18:04:48 +0000 |
| Subject: | Bug #706: explode("\0", anystring) crashes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-668@lists.php.net to get a copy of this message | ||
From: sgk@happysize.co.jp
Operating system: Solaris 2.5.1, FreeBSD 2.1.5
PHP version: 3.0.3
PHP Bug Type: Reproduceable crash
Bug description:
Script like
<?
explode("\0", "anystring");
?>
results in bus error or segmentation violation.
I believe that the PHP string is not a sort of C string
which is not able to contain a null \0 character.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net