summaryrefslogtreecommitdiff
path: root/ext/xml/php_xml.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2018-08-28 22:48:18 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-09-15 15:37:01 +0200
commit3f3e914df33793a36f51b4e44745d6a5aec4f685 (patch)
tree233f9d9db9a0e0abe3caeacc4294b833084810fe /ext/xml/php_xml.h
parent01912f93c3f702b5b34a0a9a4c8f529785b0286a (diff)
downloadphp-git-3f3e914df33793a36f51b4e44745d6a5aec4f685.tar.gz
Implement #67331: Have parse_ini_file add empty entries
Some INI processors allow to specify empty values by just giving the key without the equals sign, for instance MySQL and Python. It appears to be sensible to add this possibility to our INI parser, so that it can be used for such INI files as well. We choose NULL as the value of empty values. This syntactical enhancement is a (minor) BC break, though, as can be seen by the necessary change to bug49692.ini. The “comment” formerly has been simply ignored, but now it would be parsed as key with an empty value. This PR is based on Adam's former patch.
Diffstat (limited to 'ext/xml/php_xml.h')
0 files changed, 0 insertions, 0 deletions