I hope that these fixes don't mean that the following is now
on-purpose behavior:
<?php
class base
{
public $x = 1;
}
class bar extends base
{
public function __construct()
{
var_dump($this->x);
}
}
$b = new bar;
?>
Output:
Notice: Undefined property: bar::$x in ack.php on line 10
NULL
On Wed, 3 Sep 2003, Marcus B�rger wrote:
> Hello Zeev,
>
> Friday, August 29, 2003, 10:15:57 AM, you wrote:
>
> > Fixed!
>
> Yes you fixed it for implicit properties and i fixed it for internal
> properties. Now we still have to fix it for user space default properties
> and static properties. And for static properties we should disallow
> overriding the initial value becasue that make no sense at all.
>
>
> --
> Best regards,
> Marcus mailto:[EMAIL PROTECTED]
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php