diff options
| author | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
|---|---|---|
| committer | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
| commit | 078bcec0997ad0e07b720c43cc9e6d0e046a75ab (patch) | |
| tree | 36cb0f6be2ef078fe3374de8c087b93ecf82f812 /ext/mbstring/tests/htmlent.phpt | |
| parent | fd61f69077f6156ca71dde60ecfd9ed9765a02db (diff) | |
| download | php-git-PHP-5.tar.gz | |
This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5
Diffstat (limited to 'ext/mbstring/tests/htmlent.phpt')
| -rw-r--r-- | ext/mbstring/tests/htmlent.phpt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ext/mbstring/tests/htmlent.phpt b/ext/mbstring/tests/htmlent.phpt deleted file mode 100644 index ca7d64ba41..0000000000 --- a/ext/mbstring/tests/htmlent.phpt +++ /dev/null @@ -1,35 +0,0 @@ ---TEST-- -HTML input/output ---SKIPIF-- -<?php - ini_set('include_path','.'); - extension_loaded('mbstring') or die('skip mbstring not available'); -?> ---INI-- -output_handler=mb_output_handler -zlib.output_compression= -arg_separator.input="x" -error_reporting=0 -mbstring.http_input=HTML-ENTITIES -mbstring.internal_encoding=UTF8 -mbstring.http_output=HTML-ENTITIES -mbstring.encoding_translation=1 ---FILE-- -<?php -// enable output encoding through output handler -ob_start("mb_output_handler"); -// @... are must be decoded on input these are not reencoded on output. -// If you see @AB on output this means input encoding fails. -// If you do not see ä... on output this means output encoding fails. -// Using UTF-8 internally allows to encode/decode ALL characters. -// &128... will stay as they are since their character codes are above 127 -// and they do not have a named entity representaion. -?> -<?php echo mb_http_input('l').'>'.mb_internal_encoding().'>'.mb_http_output();?> - -<?php mb_parse_str("test=&&;&@AB€‚äöü€⟨⟩"); -echo "test='$test'"; -?> ---EXPECT-- -HTML-ENTITIES>UTF-8>HTML-ENTITIES -test='&&;&@AB€‚äöü€⟨⟩'
\ No newline at end of file |
