On 13 October 2014 08:06:16 GMT+01:00, Lester Caine <les...@lsces.co.uk> wrote:
>On 13/10/14 01:35, Rowan Collins wrote:
>>> Because ini files use ; for comments and not #.
>> 
>> - The behaviour of # as comments in earlier versions seems to have
>been
>> a side-effect of something else, rather than a deliberate feature. In
>> fact, it was possible to have a key starting with #, but a line
>starting
>> # that had no = was silently discarded. [4]
>
>Are there any examples where # is used in distributed ini files?
>Is this something that is related to someone's particular preference in
>style which a particular distribution path has changed every ; to # as
>a
>quick scan across my entire server base shows no cases where it is
>used.
>Certainly some projects have changed comment coding style in the code
>and irritatingly dropped docblock in favour of something else but I've
>not see any example of # based ini comments?

Based on the above, I think what happened is that people had used # for blocks 
of explanation, and ; for commented out values.

While hunting down what happened, I did find some downstream bugs from one 
Linux distro removing # comments in reaction to the deprecation notices, so 
this certainly wasn't just a localised mistake.


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to