Hi!
i noticed that some changes was made that 100% break all apps that do such
stuff:
class x extends y
{
public static function foo()
{
new self();
}
}
class y
{
private function __construct()
{
echo 'y::__construct()' . PHP_EOL;
}
}
I think that priv
Hello Marco,
May be you should check the "[PHP-DEV] Inconsistencies when accessing
protected members" thread.
It's said there:
Private means this API belongs to this class only, protected means this API
> belongs to this class and the children.
and you can find there a lot of useful thoughts a
Hi,
i noticed that some changes was made that 100% break all apps that do such
stuff:
class x extends y
{
public static function foo()
{
new self();
}
}
class y
{
private function __construct()
{
echo 'y::__construct()' . PHP_EOL;
}
}
x::foo();
with php