cvs: php-src /ext/standard/tests/array bug14580.phpt

From: Date: Thu, 24 Jul 2003 10:13:17 +0000
Subject: cvs: php-src /ext/standard/tests/array bug14580.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-22764@lists.php.net to get a copy of this message
sniper Thu Jul 24 06:13:17 2003 EDT Added files: /php-src/ext/standard/tests/array bug14580.phpt Log: test for bug #14580 (key() not binary safe) Index: php-src/ext/standard/tests/array/bug14580.phpt +++ php-src/ext/standard/tests/array/bug14580.phpt --TEST--n Bug #14580 (key() not binary safe) --FILE-- <?php $arr = array ("foo\0bar" => "foo\0bar"); print_r($arr); $key = key($arr); echo strlen($key), ': ', $key, "\n"; ?> --EXPECT-- Array ( [foobar] => foobar ) 7: foobar

« previous php.cvs (#22764) next »