3 ms·
I wish I understood why # is no longer allowed as a commentline character in php.ini for 5.4 Isn't it nearly universally accepted in every other language? Let
by ck2 14y ago
I wish I understood why # is no longer allowed as a commentline character in php.ini for 5.4
Isn't it nearly universally accepted in every other language?
Let me know if you spot the developer discussion on this logic?
(update: apparently this started with 5.3 not 5.4)
- X-Istence 14y agoThis change was made to fall in line with other .ini parsers, it is after all an "official" configuration file format: http://en.wikipedia.org/wiki/INI_file http://en.wikipedia.org/wiki/INI_file Using # was an extension on top of what is allowed in Windows...
- mgkimsal 14y agoPer that page: "Some software supports the use of the number sign (#) as an alternative to the semicolon for indicating comments." What's the 'official' definition of the ini format and what's really not allowed?
- X-Istence 14y agoThe ini file format was first introduced in Microsoft Windows. The API's that are available in WIN/WIN32 are probably considered the most official and it does not support # as a comment delimiter...
- deleted 14y ago[deleted]