diff options
author | Tal Peer <tal@php.net> | 2002-10-11 20:20:52 +0000 |
---|---|---|
committer | Tal Peer <tal@php.net> | 2002-10-11 20:20:52 +0000 |
commit | 814373e8b7ac02ec33a364c4d82ce752764b63c5 (patch) | |
tree | 272352f27cf34795bad0822bd5728c696bbe1a4c /ext/fribidi | |
parent | f5b53c17ab3964b8ee7c4a3371fa05dd8ab5e573 (diff) | |
download | php-git-814373e8b7ac02ec33a364c4d82ce752764b63c5.tar.gz |
Use var_dump instaed of plain echo
Diffstat (limited to 'ext/fribidi')
-rw-r--r-- | ext/fribidi/tests/001.phpt | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/ext/fribidi/tests/001.phpt b/ext/fribidi/tests/001.phpt index cc26cb342c..945cef44f6 100644 --- a/ext/fribidi/tests/001.phpt +++ b/ext/fribidi/tests/001.phpt @@ -7,11 +7,19 @@ fribidi_log2vis --FILE-- <?php error_reporting (E_ALL ^ E_NOTICE); - echo fribidi_log2vis("THE dog 123 IS THE biggest", FRIBIDI_AUTO, FRIBIDI_CHARSET_CAP_RTL)."\n"; - echo fribidi_log2vis("בלה 198 foo בלה BAR 12", FRIBIDI_RTL, FRIBIDI_CHARSET_8859_8)."\n"; - echo fribidi_log2vis("Fri בידי יאאא bla 12% bla", FRIBIDI_AUTO, FRIBIDI_CHARSET_CP1255); + $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); + var_dump($d); ?> --EXPECT-- -biggest EHT SI dog 123 EHT -BAR 12 הלב foo 198 הלב -Fri אאאי ידיב bla 12% bla +array(3) { + [0]=> + string(26) "biggest EHT SI dog 123 EHT" + [1]=> + string(22) "BAR 12 הלב foo 198 הלב" + [2]=> + string(25) "Fri אאאי ידיב bla 12% bla" +} |