Annotation of embedaddon/php/ext/mbstring/tests/zend_multibyte-12.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: zend multibyte (12)
                      3: --SKIPIF--
                      4: <?php
                      5: ini_set("mbstring.script_encoding","SJIS");
                      6: if (ini_set("mbstring.script_encoding","SJIS") != "SJIS") {
                      7:        die("skip zend-multibyte is not available");
                      8: }
                      9: ?>
                     10: --FILE--
                     11: <?php
                     12: declare(encoding="ISO-8859-15");
                     13: echo 1;
                     14: declare(encoding="ISO-8859-1");
                     15: ?>
                     16: --EXPECTF--
                     17: Fatal error: Encoding declaration pragma must be the very first statement in the script in %s on line 4

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