I noticed that if I have like
thing = abc
thing = def
thing = xyz
I get only one thing entry in the array.
But php.ini has multiple declaration of “extension”, which I assume gets them all as an array.
Can parse_ini_file do the same? The INI_SCANNER_RAW option doesn’t seem to change this.
If you want to have an array of
thing, you’ll need to change your declarations tothing[]. From the docs:Would result in