Annotation of embedaddon/php/Zend/tests/multibyte/multibyte_encoding_006.phpt, revision 1.1.1.2

1.1       misho       1: --TEST--
                      2: Scripts with flex-incompatible encoding without suitable conversion strategy
                      3: --SKIPIF--
                      4: <?php
1.1.1.2 ! misho       5: if (!in_array("zend.detect_unicode", array_keys(ini_get_all()))) {
1.1       misho       6:   die("skip Requires configure --enable-zend-multibyte option");
                      7: }
                      8: if (extension_loaded("mbstring")) {
                      9:   die("skip The mbstring extension cannot be present for this test");
                     10: }
                     11: ?>
1.1.1.2 ! misho      12: --INI--
        !            13: zend.multibyte=1
1.1       misho      14: --FILE--
                     15: ÿþ<?php
                     16: echo "hello world";
                     17: 
                     18: --EXPECT--
                     19: 
                     20: Fatal error: Could not convert the script from the detected encoding "UTF-32LE" to a compatible encoding in Unknown on line 0

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