[UPHPU] Nested Classes?

Nathan Lane nathamberlane at gmail.com
Wed Apr 16 09:35:22 MDT 2008

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

More information about the UPHPU mailing list