1--TEST--
2Invalid values for MBString INI settings
3--SKIPIF--
4<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
5--INI--
6mbstring.language=UNKNOWN_LANGUAGE
7mbstring.internal_encoding=UNKNOWN_ENCODING
8mbstring.detect_order=UTF-8,DETECT_ORDER,ASCII
9mbstring.http_input=UTF-8,HTTP_INPUT,ASCII
10mbstring.http_output=HTTP_OUTPUT
11mbstring.http_output_conv_mimetypes=UNKNOWN_MIME_TYPE_OUTPUT
12mbstring.substitute_character=U+3000,NON_EXISTING_CHARACTER,JIS+7E7E
13mbstring.func_overload=BOOL_OVERLOAD
14mbstring.encoding_translation=BOOL_TRANSLATION
15mbstring.strict_detection=BOOL_STRICT_DETECTION
16--FILE--
17<?php
18// Empty as we are only testing INI settings
19?>
20--EXPECT--
21Warning: PHP Startup: INI setting contains invalid encoding "DETECT_ORDER" in Unknown on line 0
22
23Deprecated: PHP Startup: Use of mbstring.http_input is deprecated in Unknown on line 0
24
25Warning: PHP Startup: INI setting contains invalid encoding "HTTP_INPUT" in Unknown on line 0
26
27Deprecated: PHP Startup: Use of mbstring.http_output is deprecated in Unknown on line 0
28
29Deprecated: PHP Startup: Use of mbstring.internal_encoding is deprecated in Unknown on line 0
30
31Warning: PHP Startup: Unknown encoding "UNKNOWN_ENCODING" in ini setting in Unknown on line 0
32