Re: PHP 4.0 Bug #4175: new class_name doesn't work in class definition
| From: | Faisal Nasim | Date: | Tue, 18 Apr 2000 11:48:06 +0000 |
| Subject: | Re: PHP 4.0 Bug #4175: new class_name doesn't work in class definition | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18001@lists.php.net to get a copy of this message | ||
: In my script I have:
:
: some_class
: {
: var $variable = new other_class_name;
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:
: function ...
: }
class foo
{
var $variable;
function foo ()
{
$variable = new bar;
}
}
Enjoy!
Faisal