summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/htmlent.phpt
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
committerSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
commit88ec761548b66f58acc1a86cdd0fc164ca925476 (patch)
treed0af978fa00d83bb1d82c613f66477fbd6bb18aa /ext/mbstring/tests/htmlent.phpt
parent268984b4787e797db6054313fc9ba3b9e845306e (diff)
downloadphp-git-PECL_OPENSSL.tar.gz
This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'.PECL_OPENSSL
Diffstat (limited to 'ext/mbstring/tests/htmlent.phpt')
-rw-r--r--ext/mbstring/tests/htmlent.phpt41
1 files changed, 0 insertions, 41 deletions
diff --git a/ext/mbstring/tests/htmlent.phpt b/ext/mbstring/tests/htmlent.phpt
deleted file mode 100644
index e49714ddc2..0000000000
--- a/ext/mbstring/tests/htmlent.phpt
+++ /dev/null
@@ -1,41 +0,0 @@
---TEST--
-HTML input/output
---SKIPIF--
-<?php
- ini_set('include_path','.');
- extension_loaded('mbstring') or die('skip mbstring not available');
-?>
---INI--
-output_buffering=4096
-output_handler=mb_output_handler
-zlib.output_compression=
-arg_separator.input=x
-error_reporting=0
-mbstring.http_input=HTML-ENTITIES
-mbstring.internal_encoding=UTF-8
-mbstring.http_output=HTML-ENTITIES
-mbstring.encoding_translation=1
---FILE--
-<?php
-// enable output encoding through output handler
-//ob_start("mb_output_handler");
-// &#64... are must be decoded on input these are not reencoded on output.
-// If you see &#64;&#65;&#66; on output this means input encoding fails.
-// If you do not see &auml;... 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=&#38;&#64;&#65;&#66;&#128;&#129;&#130;&auml;&ouml;&uuml;&euro;&lang;&rang;", $test);
-print_r($test);
-?>
-===DONE===
---EXPECT--
-HTML-ENTITIES>UTF-8>HTML-ENTITIES
-Array
-(
- [test] => &@AB&#128;&#129;&#130;&auml;&ouml;&uuml;&euro;&lang;&rang;
-)
-===DONE===