Re: Simple class declaration returns error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brad,
What version of PHP are you using?
I suspect something less then 5.0 which means the public/private declarations are not supported...
(So remove 'public' and see if it works)

Yes, it turns out that I am using PHP 4, and I thought I was using 5. Thank you for pointing it out.

Now I have to consider whether or not to make my code PHP 4 compatible, or upgrade to version 5.

--
Dave M G

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux