sniper          Thu Jul 24 06:41:47 2003 EDT

  Modified files:              
    /php-src/tests/lang bug24783.phpt 
  Log:
  Fix the test..
  
Index: php-src/tests/lang/bug24783.phpt
diff -u php-src/tests/lang/bug24783.phpt:1.1 php-src/tests/lang/bug24783.phpt:1.2
--- php-src/tests/lang/bug24783.phpt:1.1        Thu Jul 24 06:25:15 2003
+++ php-src/tests/lang/bug24783.phpt    Thu Jul 24 06:41:47 2003
@@ -5,8 +5,9 @@
 error_reporting(E_ALL);
        $arr = array ("foo\0bar" => "foo\0bar");
        foreach ($arr as $key => $val) {
-               echo strlen($key), ": $key => $val\n";
+               echo strlen($key), ': ';
+               echo urlencode($key), ' => ', urlencode($val), "\n";
        }
 ?>
 --EXPECT--
-7: foobar => foobar
+7: foo%00bar => foo%00bar



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

Reply via email to