@ -1,9 +1,7 @@
--TEST--
Bug #20087 (Assertion failure)
--SKIPIF--
<?php include('skipif.inc'); ?>
--POST--
--GET--
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
--FILE--
<?php
ini_set('include_path','.');
@ -1,11 +1,11 @@
mb_strtoupper() / mb_strtolower()
extension_loaded('mbstring') or die('skip mbstring not available');
function_exists('mb_strtolower') and
function_exists('mb_convert_case' ) or die("SKIP");
?>
mb_internal_encoding( 'ISO-8859-1' );
@ -3,7 +3,7 @@ HTML input/output
include('skipif.inc');
--INI--
output_handler=mb_output_handler
mb_convert_encoding()
// TODO: Add more tests
mb_convert_variables()
mb_detect_encoding()
mb_detect_order()
//$debug = true;
@ -1,10 +1,10 @@
mb_ereg()
function_exists('mb_ereg') or die("SKIP");
mb_regex_set_options( '' );
@ -1,10 +1,8 @@
mb_ereg_replace()
function_exists('mb_ereg_replace') or die("SKIP");
mb_ereg_search() stuff
function_exists('mb_ereg_search') or die("SKIP");
@ -2,7 +2,7 @@
mb_http_input()
(php_sapi_name()=='cgi') or die("skip sapi is not a cgi version");
mb_http_output()
//TODO: Add more encoding. Wrong paramter type test.
mb_internal_encoding()
// TODO:
mb_output_handler() (EUC-JP)
// TODO: Do real test
mb_preferred_mime_name()
// TODO: Add more encoding names
mb_regex_set_options()
function_exists('mb_regex_set_options') or die("SKIP");
mb_regex_set_options( 'x' );
mb_split()
function_exists('mb_split') or die("SKIP");
mb_strcut()
// TODO: Add more encodings
mb_strimwidth()
// TODO: Add more encoding
mb_strlen()
mb_strpos()
mb_strwidth()
// TODO: Add more encoding, strings.....
mb_substitute_character()
mb_substr()
php-users@php.gr.jp #10830
$a="aaa\n<>";
Simple multi-byte print test (EUC-JP)
/*