On October 8, 2002 01:45 pm, Stanislav Malyshev wrote: > IA>> however creates a problem for people who for whatever reason want to > IA>> use file called 'none'. Not to mention the fact that this particular > > Do you know such people? What is the reason to use filename "none" as a > prepend file?
People use all sort of files names, ultimately there will be someone who woud want to use none as an option. For people who do not speak English and are not aware of the word's meaning, this is quite likely. > IA>> option is not at all supported. My suggestion is that rather then > > I thought it is supported, by lex parsing none as "". > That is true, however despite the warning inside php.ini itself, many users quote none, which leads to the percieved problem of none option not working properly. > IA>> adding strncmp() for 'none' in addition to existing checks for > IA>> auto_prepend_file/auto_append_file values we simply change the > IA>> documentation to explain that to disable these options a user should > IA>> use "" as their value. > > And break existing setups? Don't think it's any good... I do not suggest we break BC, maintaining support for non quoted 'none' option is good idea. However, I think it would clear up a fair amount of confustion if the manual is changed to indicate, that to disable auto_prepend_file/auto_append_file, "" or no value at all should be used. Ilia -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php