PHP_INI_MH()'s new_value_length being non-zero for NULL new_value?

From: Date: Wed, 07 Sep 2016 08:46:26 +0000
Subject: PHP_INI_MH()'s new_value_length being non-zero for NULL new_value?
Groups: php.internals 
Request: Send a blank email to internals+get-95718@lists.php.net to get a copy of this message
Hi all, I realized that setting default_charset does not set *.internal_encoding/etc. So I looked into what's wrong and found PHP_INI_MH()'s new_value_length being non-zero for NULL new_value. This makes fail to set proper value for *.intermal_encoding/etc. This happens from PHP 5.6 branch. It was 0 for null value otherwise encoding setting was not working from the beginning. Is this change intended or a bug? Or I got zero length during patch development by accident? If this behavior wouldn't be changed, I'll just commit patch that fix the encoding INI issue. Thank you, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#95718) next »