Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25799 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59114 invoked by uid 1010); 22 Sep 2006 08:17:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59099 invoked from network); 22 Sep 2006 08:17:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2006 08:17:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=jasper@albumltd.co.nz; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jasper@albumltd.co.nz; sender-id=unknown; domainkeys=bad (key type) Received-SPF: error (pb1.pair.com: domain albumltd.co.nz from 210.55.31.88 cause and error) DomainKey-Status: bad (key type) X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: jasper@albumltd.co.nz X-Host-Fingerprint: 210.55.31.88 unknown Linux 2.5 (sometimes 2.4) (4) Received: from [210.55.31.88] ([210.55.31.88:58869] helo=mail.albumltd.co.nz) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/6E-17883-2FB93154 for ; Fri, 22 Sep 2006 04:16:52 -0400 Received: from mail.albumltd.co.nz (www.album.co.nz [127.0.0.1]) by mail.albumltd.co.nz (Postfix) with ESMTP id 986F21D9EDF; Fri, 22 Sep 2006 20:16:46 +1200 (NZST) DomainKey-Signature: a=rsa-sha1; h=Received:Message-ID:Date:From:Organization:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:X-Enigmail-Version:OpenPGP:Content-Type:Content-Transfer-Encoding; b=WH8amQriL+nJ+XkgTsYEPk1N+ICF/OWMgQsFJLjfJn7dVTzr7exVxJM7h+tuSF8vxJo8cclJjUX16h3NKy7pmB1JTNWTUJlVpTWJzOywECixKeVHr3gHcgouxEIDd159PeGbMK/7Vr9fOj0NadytH7T/bwFNp9UjUzTwA5Hszi4=; c=nofws; d=albumltd.co.nz; q=dns; s=ks1 Received: from [10.0.1.1] (222-154-246-93.adsl.xtra.co.nz [222.154.246.93]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jasper) by mail.albumltd.co.nz (Postfix) with ESMTP id 221761D9E09; Fri, 22 Sep 2006 20:16:46 +1200 (NZST) Message-ID: <45139BEE.20204@albumltd.co.nz> Date: Fri, 22 Sep 2006 20:16:46 +1200 Organization: Album Limited User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: Derick Rethans CC: Michael Wallner , internals@lists.php.net References: In-Reply-To: X-Enigmail-Version: 0.94.1.0 OpenPGP: id=0A3ABF58 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE] (was: Parameter checking in 5.2) From: jasper@albumltd.co.nz (Jasper Bryant-Greene) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Derick Rethans wrote: > It's not necessarily a *strict* OO implementaiton though, it's one that > is correct. Strictness is where we would disallow setting object > properties on the fly while not declaring that. I would actually like to > see that throwing an e_strict too as that would make debugging easier as > well. however, in the case of signatures you *have* to be strict ... but > > I guess we would only see the full implications if you're very well > versed with OO theory (definitely not saying that I am). Are we not missing the fact that static methods (at least in PHP) are effectively bound to the specific class that they are defined on, no matter which they are called on? f.x. see any of the multitude of posts to this list regarding PHP's lack of late static binding. On this note, given that there are no real inheritance rules applying w.r.t. static methods, does it not make sense to allow different parameters on subclasses as these are effectively different methods as opposed to overloading in the strict sense? - -- Jasper Bryant-Greene Director Album Limited jasper@album.co.nz +64 21 708 334 / 0800 425 286 http://www.album.co.nz/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iFcDBQFFE5vtnqZ4vwo6v1gRCiekAP0cof6jTPdqcizYle2fzSAPDjucrxDMkreY NgaS4i4hMgEAhvii80Zy6dogEFarPU9teL8zrZcyWZvIa5h+UOfrEZo= =wcz6 -----END PGP SIGNATURE-----