mirror of
https://github.com/php/php-src.git
synced 2026-04-26 17:38:14 +02:00
Added a new test
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
--TEST--
|
||||
mb_output_handler() (Shift_JIS)
|
||||
--SKIPIF--
|
||||
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
|
||||
--INI--
|
||||
output_handler=mb_output_handler
|
||||
mbstring.internal_encoding=Shift_JIS
|
||||
mbstring.http_output=EUC-JP
|
||||
--FILE--
|
||||
<?php
|
||||
// Shift_JIS
|
||||
var_dump("テスト用日本語文字列。このモジュールはPHPにマルチバイト関数を提供します。");
|
||||
?>
|
||||
|
||||
--EXPECT--
|
||||
string(73) "・ニ・ケ・ネヘムニ�ワク�クサ昀�」、ウ、ホ・筵ク・蝪シ・�マPHP、ヒ・゙・�チ・ミ・、・ネエリソ���。、キ、゙、ケ。」"
|
||||
Reference in New Issue
Block a user