Re: parse_ini_file

From: Date: Mon, 08 Jan 2001 06:25:45 +0000
Subject: Re: parse_ini_file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33193@lists.php.net to get a copy of this message
It's possible, perhaps even likely, that that is an undocumented internal function... Just because it was made thread-safe and now takes a second argument and Zeev documented it as such doesn't change that :-) At a wild guess, I'd say it's a one (now optionally two) argument function that takes a pathname and returns... Well, maybe an array of directive/value pairs, or maybe a 2-D array with section/directive/value tuples if you add that second argument... You could always read the source to find out for sure :-) Relying on an undocumented function is always a Bad Idea. OTOH, parsing an INI file is not something that's going to change drastically in the future, most likely, and php.ini disappearing completely doesn't seem too likely either. So I'd hazard a guess that the risk factor is low... ----- Original Message ----- From: "Patrick Dunford" <pdunford.webs@clear.net.nz> Newsgroups: php.general Sent: Sunday, January 07, 2001 9:34 PM Subject: [PHP] parse_ini_file > This function is refered to in the changelog for the latest version of PHP > (4.04) but I cannot find it referenced anywhere in the docs. Is there any > documnentation on it? > > ======================================================================= > Patrick Dunford, Christchurch, NZ - > http://pdunford.godzone.net.nz/ > > Because of the LORD's great love we are not consumed, for his > compassions never fail. They are new every morning; great is your > faithfulness. > -- Lamentations 3:22-23 > http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010107 > ======================================================================= > Created by Mail2Sig - > http://pdunford.godzone.net.nz/software/mail2sig/ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#33193) next »