mirror of
https://github.com/php/php-src.git
synced 2026-04-01 13:12:16 +02:00
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
17 lines
359 B
PHP
17 lines
359 B
PHP
--TEST--
|
|
Exhaustive test of verification and conversion of KOI8-U text
|
|
--EXTENSIONS--
|
|
mbstring
|
|
--SKIPIF--
|
|
<?php
|
|
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
include('encoding_tests.inc');
|
|
testEncodingFromUTF16ConversionTable(__DIR__ . '/data/KOI8-U.txt', 'KOI8-U');
|
|
?>
|
|
--EXPECT--
|
|
Tested KOI8-U -> UTF-16BE
|
|
Tested UTF-16BE -> KOI8-U
|