Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49378 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2179 invoked from network); 11 Aug 2010 20:11:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2010 20:11:24 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pw0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:53604] helo=mail-pw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/B3-18548-BE3036C4 for ; Wed, 11 Aug 2010 16:11:24 -0400 Received: by pwj8 with SMTP id 8so228476pwj.29 for ; Wed, 11 Aug 2010 13:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=iAreT2qxFd6UC9z0hW5QYoYEfGpgJGwFgErzKoUtfCU=; b=xEexoR1ZzLyQ/Pum+jYWTdRScpOMFriGi2jT+Y3AFnfzJlVrImQ1qD0AQOCf/eUjju /2plsXbNrDGTRmWJyE089A/FT+OmLWcIxNJQw92ZvaowDl1BuW3XMV6lzpj0896iPc3C 7XDGv8B69fLspUsY6jCIgEl9SwztY/VPq1i4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MSYml3nFFY0AFdXQWSgnHulZmUvOghY7Tf5EES3ugIseMyaKp1Ro8x2/XC0rrEflVd W/lPeDk8Tza+R8cAQFRkrr/FdwqYAGf487Ogha1gG89vlf+bKD77hKzc0NE5/y2XwdYT XE4iFU4WFwgcfk/DvKFmSb7KmS8jsr65NWtUU= MIME-Version: 1.0 Received: by 10.142.201.5 with SMTP id y5mr16609084wff.107.1281557481225; Wed, 11 Aug 2010 13:11:21 -0700 (PDT) Received: by 10.142.43.8 with HTTP; Wed, 11 Aug 2010 13:11:21 -0700 (PDT) In-Reply-To: <7.0.1.0.2.20100811225933.0ef42d88@zend.com> References: <4C62EC4A.9020106@sugarcrm.com> <4C62FD01.7010306@lsces.co.uk> <7.0.1.0.2.20100811225933.0ef42d88@zend.com> Date: Thu, 12 Aug 2010 00:11:21 +0400 Message-ID: To: Zeev Suraski Cc: Lester Caine , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] back to 5.4 alpha From: indeyets@gmail.com (Alexey Zakhlestin) On Thu, Aug 12, 2010 at 12:01 AM, Zeev Suraski wrote: > At 22:50 11/08/2010, Alexey Zakhlestin wrote: >> >> On Wed, Aug 11, 2010 at 11:41 PM, Lester Caine wrot= e: >> > Ilia Alshanetsky wrote: >> >> >> >> +1, I think that's the most sensible solution for now that would allo= w >> >> us to proceed with 5.4, something we all seem to be in agreement on. >> > >> > A slight aside here, as I have not be bothering about what HAS been >> > implemented typing wise ... A large section of the code a work with >> > passes a >> > range of data to functions and classes. If the function gets an intege= r >> > it >> > looks up the record with that id, an array assumes the data is already >> > loaded, and perhaps a string value defines that a new record of that >> > name is >> > to be created. So I don't want the parameters passed to be tied to a >> > single >> > type. Is THAT affected by any of the current typing actions? >> >> both suggested type-hinting strategies are optional. >> so, you, as developer, are free to not use type-hinting and accept any >> data you like > > Alexey, > > It's been explained countless times why this is WRONG. > Please read the archives. > If you have and you disagree with it, please take it as an axiom - a feat= ure > being 'optional' does not take away from any confusion or complexity > associated with it. =C2=A0It's been a design guideline in PHP from the ge= t go, > we're not going to give up on it now. You misunderstood my comment. Lester asked if he can still have his APIs without type-hinting and I told him that he can. That's all We're not talking about complexities of understanding --=20 Alexey Zakhlestin http://www.milkfarmsoft.com/