Syntax Error
Posted: Mon Jun 02, 2008 7:28 pm
Not sure why this code is giving me an error. What am I missing?
Thanks,
John
Parse error: syntax error, unexpected '(', expecting ')' in /home/john/www/dev/config.php on line 8
Code: Select all
<?php
class Config {
private $paths =
array(
'root' => realpath(dirname(__FILE__))
);
}
?>John