On Fri, Apr 3, 2009 at 2:42 PM, Karsten Dambekalns <kars...@typo3.org> 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): >> public function attach($obj, $inf = null) > > Doh, well. Even better, so it's not some "object" type hint, but simply me > not knowing the full attach() signature. Yay!
try this (with CLI php): php --rc SplObjectStorage > PS: Some updated docs for SPL would be really cool... ;) +1 ;) -- Alexey Zakhlestin http://www.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php