cvs: ZendEngine2(PHP_5_3) /tests/multibyte multibyte_encoding_002.phpt multibyte_encoding_003.phpt

[email protected] ("Marcus Boerger")
Newsgroups php.zend-engine.cvs
Message-ID <cvshelly1207504411@cvsserver>
helly		Sun Apr  6 17:53:31 2008 UTC

  Added files:                 (Branch: PHP_5_3)
    /ZendEngine2/tests/multibyte	multibyte_encoding_002.phpt 
                                	multibyte_encoding_003.phpt 
  Log:
  - MFH add new tests
  

http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/multibyte/multibyte_encoding_002.phpt?view=markup&rev=1.1
Index: ZendEngine2/tests/multibyte/multibyte_encoding_002.phpt
+++ ZendEngine2/tests/multibyte/multibyte_encoding_002.phpt
--TEST--
Zend Multibyte and UTF-8 BOM
--SKIPIF--
<?php
if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
  die("skip Requires configure --enable-zend-multibyte option");
}
if (!extension_loaded("mbstring")) {
  die("skip Requires mbstring extension");
}
?>
--INI--
mbstring.internal_encoding=iso-8859-1
--FILE--
<?php
print "Hello World\n";
?>
===DONE===
--EXPECT--
Hello World
===DONE===

http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/multibyte/multibyte_encoding_003.phpt?view=markup&rev=1.1
Index: ZendEngine2/tests/multibyte/multibyte_encoding_003.phpt
+++ ZendEngine2/tests/multibyte/multibyte_encoding_003.phpt
--TEST--
Zend Multibyte and UTF-16 BOM
--SKIPIF--
<?php
if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
  die("skip Requires configure --enable-zend-multibyte option");
}
if (!extension_loaded("mbstring")) {
  die("skip Requires mbstring extension");
}
?>
--INI--
mbstring.internal_encoding=iso-8859-1
--FILE--
ÿþ<




--EXPECT--
H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.