From: RQuadling at GMail dot com Operating system: Windows XP SP2 PHP version: 5CVS-2007-10-15 (snap) PHP Bug Type: PHP options/info functions Bug description: Double quotes in a some comments in ini file generate warning.
Description: ------------ Using the same php-cli.ini file for PHP5.2.5-dev and PHP5.3.0-dev At the command line I enter ... php -v I get 2 pop-up error messages. The first is ... syntax error, unexpected '"' in C:\PHP_INI\PHP5.3\php-cli.ini on line 445. followed by ... Invalid configuration directive Line 445 of this file is ... upload_tmp_dir = "D:\Data\PHP\File Uploads" So, changed it to ... upload_tmp_dir = D:\Data\PHP\File Uploads This lines seems to have passed muster because I now get ... syntax error, unexpected '"' in C:\PHP_INI\PHP5.3\php-cli.ini on line 459 Line 459 is ... ;from="[EMAIL PROTECTED]" The comment on the from is NOT being acknowledged. Strangely enough, not all comments are examined. In line 41 ... ; example, if you set output_handler to "mb_output_handler", character and in line 277 ;docref_root = "/phpmanual/" Both of these are ignored. I don't know if the " are supposed to be there, but the errors suggest that they should not be. For those that are NOT comments, I can accept I have to change my ini files, but not for comments. -- Edit bug report at http://bugs.php.net/?id=42972&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42972&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42972&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42972&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42972&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42972&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42972&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42972&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42972&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42972&r=support Expected behavior: http://bugs.php.net/fix.php?id=42972&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42972&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42972&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42972&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42972&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42972&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42972&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42972&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42972&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42972&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42972&r=mysqlcfg
