#22331 [Asn]: mbstring configuration variables are marked PHP_INI_ALL, but this is false.

From: Date: Sat, 01 Mar 2003 07:25:40 +0000
Subject: #22331 [Asn]: mbstring configuration variables are marked PHP_INI_ALL, but this is false.
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352034@lists.php.net to get a copy of this message
ID: 22331 Updated by: hirokawa@php.net Reported By: vigna at dsi dot unimi dot it Status: Assigned Bug Type: Documentation problem Operating System: Linux PHP Version: 4.3.0 Assigned To: hirokawa New Comment: I can not get the result with you. I can change mbstring.http_output (and some others) in a script. This is a sample script, <?php print mb_http_output()."\n"; // default output encoding. mb_http_output("EUC-JP"); // set new encoding. // or ini_set("mbstring.http_output","EUC-JP"); print mb_http_output()."\n"; // output: "EUC-JP". ?> And, mbstring.func_overload is defined as PHP_INI_SYSTEM in the php manual, and is not defined as PHP_INI_ALL. Previous Comments: ------------------------------------------------------------------------ [2003-02-28 04:54:16] moriyoshi@php.net Assigning this task to Rui Hirokawa for fear it'd be forgotten. (Rui, feel free to reassign to me if you think it better) ------------------------------------------------------------------------ [2003-02-20 07:22:07] vigna at dsi dot unimi dot it Sorry: apparently they cannot even be modified in .htaccess--that was a mistake. ------------------------------------------------------------------------ [2003-02-20 07:17:34] vigna at dsi dot unimi dot it The documentation states that the mbstring.func_overload mbstring.internal_encoding mbstring.http_input mbstring.http_output mbstring.substitute_character are PHP_INI_ALL. This is completely false--it is impossible to set them in a script (except maybe for internal_encoding, but the effect is not completely clear if you already have strings floating around). Apparently, all of them can be set using .htaccess except for func_overload, which must be set in php.ini. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22331&edit=1

« previous php.doc (#969352034) next »