From: "Gerard Samuel" <[EMAIL PROTECTED]>
Is it possible for a class to extend the state of its parent class?
In the example provided, I was hoping for the statement to say ->
"I wish 10 equals to 10"
If there is a solution, I would like it to work with php 4+
Thanks
-
class foo
{
var $foo
muel [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 13, 2004 10:15 AM
> To: php-general
> Subject: [PHP] Class Instance Inheritance
>
> Is it possible for a class to extend the state of its parent class?
> In the example provided, I was hoping for the statement to say ->
&g
Is it possible for a class to extend the state of its parent class?
In the example provided, I was hoping for the statement to say ->
"I wish 10 equals to 10"
If there is a solution, I would like it to work with php 4+
Thanks
-
class foo
{
var $foo = 0;
}
$foo = new foo;
$foo->foo = 10;
cla
3 matches
Mail list logo