scottmac                Thu Jan  8 14:09:49 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/json/tests     bug46944.phpt 
  Log:
  Fix test again...
  
http://cvs.php.net/viewvc.cgi/php-src/ext/json/tests/bug46944.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/json/tests/bug46944.phpt
diff -u php-src/ext/json/tests/bug46944.phpt:1.1.2.2 
php-src/ext/json/tests/bug46944.phpt:1.1.2.3
--- php-src/ext/json/tests/bug46944.phpt:1.1.2.2        Thu Jan  8 13:35:58 2009
+++ php-src/ext/json/tests/bug46944.phpt        Thu Jan  8 14:09:49 2009
@@ -8,14 +8,14 @@
 for ($i = 1; $i <= 16; $i++) {
        $first = 0xf0|($i >> 2);
        $second = 0x8f|($i & 3) << 4;
-       $string = sprintf("aa%c%c\xbf\xbdzz", $low, $high);
+       $string = sprintf("aa%c%c\xbf\xbdzz", $first, $second);
        echo json_encode($string) . "\n";
 }
 
 
 echo "Done\n";
 ?>
---EXPECT--     
+--EXPECT--
 "aa\ud83f\udffdzz"
 "aa\ud87f\udffdzz"
 "aa\ud8bf\udffdzz"



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

Reply via email to