Hi,
On Apr 4, 2009, at 1:53 AM, Johannes Schlüter wrote:
On Fri, 2009-04-03 at 22:37 +0200, Roman Borschel wrote:
Given the following simple classes
class Foo {
private $foo = 'value';
public function getFoo() { return $this->foo; }
}
class Bar extends Foo {}
Obviously, given an inst
On Fri, 2009-04-03 at 22:37 +0200, Roman Borschel wrote:
> Given the following simple classes
>
> class Foo {
> private $foo = 'value';
> public function getFoo() { return $this->foo; }
> }
> class Bar extends Foo {}
>
> Obviously, given an instance of Bar, say $bar, $bar->getFoo() retu
Hi,
i've got a little question that involves private properties,
inheritance and Reflection with PHP 5.3 RC1.
Given the following simple classes
class Foo {
private $foo = 'value';
public function getFoo() { return $this->foo; }
}
class Bar extends Foo {}
Obviously, given an instanc
Hi Matt,
I don't really see why we should "preserve the least significant bits"
and I don't think we should support bitwise operations with doubles.
Stas, could you please look into this too.
Thanks. Dmitry.
Matt Wilmas wrote:
Hi Dmitry,
- Original Message -
From: "Dmitry Stogov"
S
Maintaining the documentation
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Apr 3, 2009 at 2:42 PM, Karsten Dambekalns wrote:
> Hi Alexey.
>
> On 03.04.2009 12:33 Uhr, Alexey Zakhlestin wrote:
>>
>> well, and what is the reason why you can't make your "attach()"
>> compatible with SplObjectStorage's?
>>
>> the following signature works for me (both in 5.2 and 5.3)
Hi Alexey.
On 03.04.2009 12:33 Uhr, Alexey Zakhlestin wrote:
well, and what is the reason why you can't make your "attach()"
compatible with SplObjectStorage's?
the following signature works for me (both in 5.2 and 5.3):
public function attach($obj, $inf = null)
Doh, well. Even better, so it'
On Fri, Apr 3, 2009 at 2:05 PM, Karsten Dambekalns wrote:
> Hi.
>
> I am trying to extend SplObjectStorage and override the attach() method.
> This gives me:
>
> Strict Standards: Declaration of B::attach() should be compatible with that
> of SplObjectStorage::attach() in test.php on line 5
>
> Se
Hi.
I am trying to extend SplObjectStorage and override the attach() method.
This gives me:
Strict Standards: Declaration of B::attach() should be compatible with
that of SplObjectStorage::attach() in test.php on line 5
Seems am am hitting the object type hint wall again. Any ways around
t