There are several inconsistencies similar to this 
one.  main.c and similar just don't always "look right."

I never made an official bug report but check out this 
php-dev post:

  PHP_INI USER|PERDIR|SYSTEM|ALL
  http://marc.theaimsgroup.com/?l=php-dev&m=101198971703359

Currently this ini_set table is autogenerated from 
source, but the source isn't always real world and 
imho the ini_set() table should be as "friendly" 
as possible (no more support questions! :)

Regards,
Philip Olson.


On Mon, 8 Jul 2002 [EMAIL PROTECTED] wrote:

> On Mon, 8 Jul 2002, Philip Olson wrote:
> 
> > philip              Mon Jul  8 02:31:59 2002 EDT
> > 
> >   Modified files:              
> >     /phpdoc/en/reference/info/functions     ini-set.xml 
> >   Log:
> >   register_globals can't really be set by USER with ini_set().
> 
> The documentation doesn't match the source now, which is:
> 
>     STD_PHP_INI_BOOLEAN("register_globals",     "0",        PHP_INI_ALL,
> 
> So I guess we need to fix that too?
> 
> Derick
> 
> >   
> >   
> > Index: phpdoc/en/reference/info/functions/ini-set.xml
> > diff -u phpdoc/en/reference/info/functions/ini-set.xml:1.12 
>phpdoc/en/reference/info/functions/ini-set.xml:1.13
> > --- phpdoc/en/reference/info/functions/ini-set.xml:1.12     Tue Jun 18 08:06:10 
>2002
> > +++ phpdoc/en/reference/info/functions/ini-set.xml  Mon Jul  8 02:31:58 2002
> > @@ -1,5 +1,5 @@
> >  <?xml version="1.0" encoding="iso-8859-1"?>
> > -<!-- $Revision: 1.12 $ -->
> > +<!-- $Revision: 1.13 $ -->
> >  <!-- splitted from ./en/functions/info.xml, last change in rev 1.23 -->
> >    <refentry id="function.ini-set">
> >     <refnamediv>
> > @@ -975,7 +975,7 @@
> >            <row>
> >             <entry>register_globals</entry>
> >             <entry>"0"</entry>
> > -           <entry>PHP_INI_ALL</entry>
> > +           <entry>PHP_INI_PERDIR|PHP_INI_SYSTEM</entry>
> >            </row>
> >            <row>
> >             <entry>safe_mode</entry>
> > 
> > 
> > 
> > -- 
> > PHP Documentation Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> ---------------------------------------------------------------------------
>  Did I help you?   http://www.derickrethans.nl/link.php?url=giftlist
>  Frequent ranting: http://www.derickrethans.nl/
> ---------------------------------------------------------------------------
>                  PHP: Scripting the Web - [EMAIL PROTECTED]
>                     All your branches are belong to me!
>                 SRM: Script Running Machine - www.vl-srm.net
> ---------------------------------------------------------------------------
> 



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

Reply via email to