Bug #3263: Bad things with NULs in arrays

From: Date: Thu, 20 Jan 2000 22:59:18 +0000
Subject: Bug #3263: Bad things with NULs in arrays
Groups: php.dev 
Request: Send a blank email to php-dev+get-14795@lists.php.net to get a copy of this message
From: mike@mikebell.org Operating system: GNU/Linux PHP version: 3.0.14 PHP Bug Type: Other Bug description: Bad things with NULs in arrays $forwards=sprintf("%s%c%s", "bob@", 0, "bill@somehost.dom"); $forward[]=$forwards; $debug=fopen("/tmp/output", "w"); fwrite ($debug, implode("", $forward), 255); print "Hello"; Produces the output: bob@<00><string of bytes from memory>

« previous php.dev (#14795) next »