sniper          Thu Jul 24 06:13:44 2003 EDT

  Added files:                 (Branch: PHP_4_3)
    /php-src/ext/standard/tests/array   bug14580.phpt 
  Log:
  MFH
  

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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to