Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43612 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45165 invoked from network); 3 Apr 2009 10:05:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Apr 2009 10:05:50 -0000 X-Host-Fingerprint: 84.140.178.193 p548CB2C1.dip.t-dialin.net Received: from [84.140.178.193] ([84.140.178.193:18251] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D0/00-45088-C7FD5D94 for ; Fri, 03 Apr 2009 05:05:50 -0500 Message-ID: To: internals@lists.php.net Date: Fri, 03 Apr 2009 12:05:46 +0200 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 84.140.178.193 Subject: Extending SplObjectStorage impossible due to type hints!? From: karsten@typo3.org (Karsten Dambekalns) 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 this, aside from disabling strict standard notices? Regards, Karsten