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/
-------------------------------------------------------------------------
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php