cvs: php4(PHP_4_3) /ext/fribidi/tests 001.phpt

From: Date: Thu, 15 May 2003 18:36:59 +0000
Subject: cvs: php4(PHP_4_3) /ext/fribidi/tests 001.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20943@lists.php.net to get a copy of this message
sniper Thu May 15 14:36:59 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/fribidi/tests 001.phpt Log: fix this test for release.. Index: php4/ext/fribidi/tests/001.phpt diff -u php4/ext/fribidi/tests/001.phpt:1.3 php4/ext/fribidi/tests/001.phpt:1.3.2.1 --- php4/ext/fribidi/tests/001.phpt:1.3 Fri Oct 11 16:20:51 2002 +++ php4/ext/fribidi/tests/001.phpt Thu May 15 14:36:59 2003 @@ -7,19 +7,20 @@ --FILE-- <?php error_reporting (E_ALL ^ E_NOTICE); - $a = fribidi_log2vis("THE dog 123 IS THE biggest", FRIBIDI_AUTO, FRIBIDI_CHARSET_CAP_RTL); + + /* According to Tal, this is not really even used anywhere.. */ + // $a = fribidi_log2vis("THE dog 123 IS THE biggest", FRIBIDI_AUTO, FRIBIDI_CHARSET_CAP_RTL); + $b = fribidi_log2vis("áìä 198 foo áìä BAR 12", FRIBIDI_RTL, FRIBIDI_CHARSET_8859_8); $c = fribidi_log2vis("Fri áéãé éààà bla 12% bla", FRIBIDI_AUTO, FRIBIDI_CHARSET_CP1255); - $d = array($a, $b, $c); + $d = array($b, $c); var_dump($d); ?> --EXPECT-- -array(3) { +array(2) { [0]=> - string(26) "biggest EHT SI dog 123 EHT" - [1]=> string(22) "BAR 12 äìá foo 198 äìá" - [2]=> + [1]=> string(25) "Fri àààé éãéá bla 12% bla" }

« previous php.cvs (#20943) next »