#706 [Com]: explode("\0", anystring) crashes

From: Date: Wed, 01 Sep 2004 20:44:17 +0000
Subject: #706 [Com]: explode("\0", anystring) crashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65589@lists.php.net to get a copy of this message
ID: 706 Comment by: 9988 at 9988 dot idv dot tw Reported By: sgk at happysize dot co dot jp Status: Closed Bug Type: Reproducible Crash Operating System: Solaris 2.5.1, FreeBSD 2.1.5 PHP Version: 3.0.3 New Comment: 123 Previous Comments: ------------------------------------------------------------------------ [1998-08-30 16:15:01] zeev Fixed, empty delimiters are no longer allowed ------------------------------------------------------------------------ [1998-08-30 14:04:48] sgk at happysize dot co dot jp 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=706&edit=1

« previous php.bugs (#65589) next »