mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
39131219e8
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
21 lines
456 B
PHP
21 lines
456 B
PHP
--TEST--
|
|
mb_output_handler() (EUC-JP)
|
|
--EXTENSIONS--
|
|
mbstring
|
|
--FILE--
|
|
<?php
|
|
// TODO: Do real test
|
|
|
|
// EUC-JP
|
|
$euc_jp = "テスト用日本語文字列。このモジュールはPHPにマルチバイト関数を提供します。";
|
|
mb_http_output('EUC-JP') or print("mb_http_output() failed\n");
|
|
ob_start('mb_output_handler');
|
|
echo $euc_jp;
|
|
$output = ob_get_clean();
|
|
|
|
var_dump( $output );
|
|
|
|
?>
|
|
--EXPECT--
|
|
string(73) "テスト用日本語文字列。このモジュールはPHPにマルチバイト関数を提供します。"
|