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

1.1       misho       1: --TEST--
                      2: Scripts with flex-incompatible encoding without suitable conversion strategy
                      3: --SKIPIF--
                      4: <?php
                      5: if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
                      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: ?>
                     12: --FILE--
                     13: ÿþ<?php
                     14: echo "hello world";
                     15: 
                     16: --EXPECT--
                     17: 
                     18: 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>