From:             philip at cornado dot com
Operating system: 
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  some ini setting default values need special attention

Description:
------------
For example:
http://php.net/manual/en/ini.core.php

include_path    PHP_INCLUDE_PATH        PHP_INI_ALL
doc_root        PHP_INCLUDE_PATH        PHP_INI_SYSTEM
user_dir        NULL    PHP_INI_SYSTEM
extension_dir   PHP_EXTENSION_DIR       PHP_INI_SYSTEM

Notice the constants being used as default values, this is not good. 

A couple years ago I posted the following proposal:
* http://marc.theaimsgroup.com/?l=phpdoc&m=105161194723229

In it contains various constants and their associated default values. We
need something similar to that for the generated ini table. Perhaps check
for default values if said value prefix is "PHP_" (except
safe_mode_allowed_env_vars) and have the generation script
(phpdoc/scripts/iniupdate/) find and insert the appropriate value OR (but
most likely not) simply hardcode them.




-- 
Edit bug report at http://bugs.php.net/?id=32222&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32222&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32222&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32222&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32222&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32222&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32222&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32222&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32222&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32222&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32222&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32222&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32222&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32222&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32222&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32222&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32222&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32222&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32222&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32222&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32222&r=mysqlcfg

Reply via email to