News for hackers. Stuff that matters.
Re:PHP 5.4.6 released by ck2 on Friday August 17, 2012 @11:57AM (#4397061)
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)

Re:PHP 5.4.6 released by X-Istence on Friday August 17, 2012 @01:36PM (#4397621)
This 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

Using # was an extension on top of what is allowed in Windows...

Re:PHP 5.4.6 released by mgkimsal on Friday August 17, 2012 @01:55PM (#4397758)
Per 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?

Re:PHP 5.4.6 released by X-Istence on Friday August 17, 2012 @05:39PM (#4398952)
The 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...