bsimser / ezrpg

A modular text based web game engine written in PHP
MIT License
1 stars 1 forks source link

{} #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
problem with:

try
{
    $db = DbFactory::factory($config_driver, $config_server, 
$config_username, $config_password, $config_dbname);
}
catch (DbException $e)
{
    $e->__toString();
}

ive got error: 

Parse error: syntax error, unexpected '{' in init.php  on line 40

Original issue reported on code.google.com by wolu...@gmail.com on 4 Jun 2010 at 1:05

GoogleCodeExporter commented 9 years ago
Are you on PHP5?
PHP4 does not have exceptions.

Original comment by zeg...@gmail.com on 4 Jun 2010 at 1:43

GoogleCodeExporter commented 9 years ago
No response, assuming it's PHP version issue.

Original comment by zeg...@gmail.com on 18 Jun 2010 at 8:06

GoogleCodeExporter commented 9 years ago
yea, u have right :)  this is old php version ;)

Original comment by wolu...@gmail.com on 19 Jun 2010 at 5:48