[PHP-DEV] Bug #706: explode("\0", anystring) crashes From: sgk <email protected>
Date: 08/30/98

From: sgk <email protected>
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 <email protected>
For help: php-dev-help <email protected>