note 126027 added to function.parse-ini-file

From: Date: Wed, 21 Apr 2021 15:29:48 +0000
Subject: note 126027 added to function.parse-ini-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-216308@lists.php.net to get a copy of this message
Previous versions appear to have accepted comments in ini files that started with #. The current version says these must start with ; If this is not respected, parse_ini_file() appears to fail. This gotcha caught me out for a while when switching php versions. ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 77.100.65.131) ---- Manual Page -- https://php.net/manual/en/function.parse-ini-file.php Edit -- https://main.php.net/note/edit/126027 Del: integrated -- https://main.php.net/note/delete/126027/integrated Del: useless -- https://main.php.net/note/delete/126027/useless Del: bad code -- https://main.php.net/note/delete/126027/bad+code Del: spam -- https://main.php.net/note/delete/126027/spam Del: non-english -- https://main.php.net/note/delete/126027/non-english Del: in docs -- https://main.php.net/note/delete/126027/in+docs Del: other reasons-- https://main.php.net/note/delete/126027 Reject -- https://main.php.net/note/reject/126027 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#216308) next »