MySQL module's use of new INI structure inconsistent?
| From: | Joey Smith | Date: | Wed, 09 Aug 2000 22:01:39 +0000 |
| Subject: | MySQL module's use of new INI structure inconsistent? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28326@lists.php.net to get a copy of this message | ||
Hi,
I was looking through the source, trying to figure out how to make the
Sybase CT module use the new INI structure, and found something that
seems odd in the way MySQL uses it...
The first entry is:
STD_PHP_INI_BOOLEAN(
"mysql.allow_persistent", "1", PHP_INI_SYSTEM, OnUpdateInt,
My questions about this:
Is it "On" and "Off", or "0" and "1"? Are "On" and
"Off" magically
converted?
Why is the "on_modify" parameter set to OnUpdateInt instead of
OnUpdateBool? Is it really OK to mix STD_PHP_INI_BOOLEAN with
OnUpdateInt?