sniper          Thu Jul 24 06:37:57 2003 EDT

  Modified files:              
    /php-src/ext/standard/tests/array   bug14580.phpt 
  Log:
  fix the test
  
Index: php-src/ext/standard/tests/array/bug14580.phpt
diff -u php-src/ext/standard/tests/array/bug14580.phpt:1.1 
php-src/ext/standard/tests/array/bug14580.phpt:1.2
--- php-src/ext/standard/tests/array/bug14580.phpt:1.1  Thu Jul 24 06:13:17 2003
+++ php-src/ext/standard/tests/array/bug14580.phpt      Thu Jul 24 06:37:57 2003
@@ -3,13 +3,9 @@
 --FILE--
 <?php
        $arr = array ("foo\0bar" => "foo\0bar");
-       print_r($arr);
        $key = key($arr);
-       echo strlen($key), ': ', $key, "\n";
+       echo strlen($key), ': ';
+       echo urlencode($key), "\n";
 ?>
 --EXPECT--
-Array
-(
-    [foobar] => foobar
-)
-7: foobar
+7: foo%00bar



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

Reply via email to