I'm totally lost why this doesn't work..
Code: Select all
class Test
{
private $_variable;
}Code: Select all
class Test
{
var $_variable;
}The error is as follows...
Code: Select all
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /path/to/myfile.php on line 4Thanks guys