[Phpmyadmin-devel] Error reporting in config file

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Mon Jul 11 11:09:07 CEST 2005


Michal Čihař a écrit :
> On Monday 11 July 2005 18:52, Marc Delisle wrote:
> 
>>I would prefer your second solution eval() of the file contents, which
>>returns FALSE in case of parse error.
> 
> 
> Are you sure? AFAIK eval does not return anything unless there is return 
> statement in evaled code.
> 

 From http://ca.php.net/manual/en/function.eval.php:
"In case of a parse error in the evaluated code, eval() returns FALSE."

Marc




More information about the Developers mailing list