note 11457 added to Classes and Objects

From: Date: Wed, 21 Feb 2001 16:04:52 +0000
Subject: note 11457 added to Classes and Objects
Groups: php.notes 
Request: Send a blank email to php-notes+get-11359@lists.php.net to get a copy of this message
This works okay in PHP3 but I get a parser error when using PHP4.03pl1: class NavClass { var $db = new DB_example; . . . functions . . } Is nesting classes a bad idea? http://www.php.net/manual/en/language.oop.php

« previous php.notes (#11359) next »