Re: cvs: phpdoc /en/reference/filesystem/functions parse-ini-file.xml

From: Date: Thu, 09 Jan 2003 21:25:41 +0000
Subject: Re: cvs: phpdoc /en/reference/filesystem/functions parse-ini-file.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350798@lists.php.net to get a copy of this message
On Thu, 9 Jan 2003, CHAILLAN Nicolas wrote: > nicos Thu Jan 9 10:24:32 2003 EDT > > Modified files: > /phpdoc/en/reference/filesystem/functions parse-ini-file.xml > Log: > Fixing #21546, looks okay according to james > > - If the ini file you are trying to parse is malformed, PHP will exit. > + If the ini file you are trying to parse is malformed, PHP will exit > + and return a warning that can't be hidden. This is total bullshit: [derick@kossu derick]$ php <?php @parse_ini_file("/usr/sbin/httpd"); echo "foo\n"; ?> Unknown(0) : Warning - Error parsing /usr/sbin/httpd on line 1 Warning: Error parsing /usr/sbin/httpd on line 1 in Unknown on line 0 foo You see it prints the "foo" so it doesn't terminate at all. Derick -- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------

« previous php.doc (#969350798) next »