[UPHPU] Nested Classes?
Kevin
email.bdr at gmail.com
Wed Apr 16 09:51:22 MDT 2008
Chances are if your getting a syntax error then its not possible.
As far as I know you cant nest classes.
-Kevin-
On Wed, Apr 16, 2008 at 9:35 AM, Nathan Lane <nathamberlane at gmail.com>
wrote:
> Are nested classes possible in PHP 5? I try to do something like this:
>
> class Database {
> class XmlAdapter {
> }
> }
>
> and I get a syntax error from Eclipse PDT, "Expecting: 'function'"
>
> What am I doing wrong?
>
>
> --
> Nathan Lane
> Home, http://www.nathandelane.com
> Blog, http://nathandelane.blogspot.com
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
More information about the UPHPU
mailing list