Annotation of embedaddon/php/ext/mbstring/tests/bug46806.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #46806 (mb_wtrimwidth cutting to early)
                      3: --CREDITS--
                      4: Sebastian Schürmann
                      5: sebs@php.net
                      6: Testfest 2009 
                      7: --SKIPIF--
                      8: <?php if (!extension_loaded("mbstring")) die("skip mbstring is not available"); ?>
                      9: --FILE--
                     10: <?php
                     11: echo mb_strimwidth('helloworld', 0, 5, '...', 'UTF-8') . "\n";
                     12: echo mb_strimwidth('hello', 0, 5, '...', 'UTF-8');
                     13: ?>
                     14: --EXPECT--
                     15: he...
                     16: hello

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>