logo       

Re: cvs: ZendEngine2 / zend_ini.c php-src NEWS: msg#00153

Subject: Re: cvs: ZendEngine2 / zend_ini.c php-src NEWS
IA>>1) Stock php.ini does not use Yes/True for any values, it uses On or 1,
IA>>implying that disabling is Off or 0.

php.ini docs say:

; Boolean values can be set to either:
;    true, on, yes
; or false, off, no, none

So, true, on and yes are officially supported boolean values as far as 
configuration concerned.

IA>>2) There are many wonderful notes in various docs on the web indicating that
IA>>when setting PHP options inside httpd.conf etc... 0/1 should be used for
IA>>boolean values.

So you say it's ok because somewhere on the net there's a note that 
explains workaround to that? (I presume the note title says "Beware of 
the leopard!" ;)

IA>>3) The docs for INI settings themselves and ini_set() never use or 
IA>>mention anything other then On or 1 as possible values.

The docs for php.ini do - and there's no any indication in any place that 
settings that work in php.ini don't work on any other ini mechanisms. It 
is right that the contrary is not written either - but only because it's 
natural that any setting you set in php.ini would work the same if you set 
it with -d, .htaccess, ini_set or any other way. And ini_set docs page 
does not say a thing about allowed input values at all.

Also, do you think anybody in the world relies on "true" being 0 for 
ini_set - that would be really bizzare behvaiour and could not be derived 
from any of the docs. So I see no problem setting it straight.

-- 
Stanislav Malyshev, Zend Products Engineer
stas@xxxxxxxx  http://www.zend.com/ +972-3-6139665 ext.115

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe