Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44671 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22159 invoked from network); 2 Jul 2009 19:26:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2009 19:26:43 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.224 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.220.224 mail-fx0-f224.google.com Received: from [209.85.220.224] ([209.85.220.224:62866] helo=mail-fx0-f224.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DA/B0-18647-2F90D4A4 for ; Thu, 02 Jul 2009 15:26:43 -0400 Received: by fxm24 with SMTP id 24so1905491fxm.23 for ; Thu, 02 Jul 2009 12:26:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=8uTT8HRLM6uebCjF/LxKyAgU8mmyYJSnRSMijRgAiIM=; b=cSIioz5MJMYKw2PN5TjpggdNNT04hlx5kyQ8lvPXus6zx0BW4tIBju4WdG5P9ey7+6 oyX+jGlxy3ZmXdLOZjF817u37iUOD1+ZAqyBxBVSwwKAVNdDHiDVhqkkSmzGIGRLDqJv FwaxcrwOM22bc/DkxutEqoeNjEUbyTHnxRSfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VWlHihD9wElOjauaaaMv9okilEa6XBanDUiqKRQOEhp79MCpCRkKH12aV0ban2KYJQ SIA3IHAjYiWcHTvEqRp5BxnDyjGj1KVBhjFkaMAZAgytgsp+zjuJt9h9kmDv1DR3d+8R dFOPzBs6Xd7umvddN/3sfIN8biiZLFC+rgwIM= MIME-Version: 1.0 Sender: kalle.php@gmail.com Received: by 10.204.55.140 with SMTP id u12mr354672bkg.127.1246562798733; Thu, 02 Jul 2009 12:26:38 -0700 (PDT) In-Reply-To: <4A4CF889.9090405@zend.com> References: <85073B28-671D-4A8F-B2D6-5704E3E180BB@ilia.ws> <89868409-EBAC-47DE-8D6D-0DCD88DE9DE6@ilia.ws> <67163A6A-9C8F-4F59-82A4-0B46A2EBEAE9@pooteeweet.org> <93ED589E60BA254F97435FE6C97F2C6702B925DD@leedsmet-exch1.leedsmet.ac.uk> <4A4CF889.9090405@zend.com> Date: Thu, 2 Jul 2009 21:26:37 +0200 X-Google-Sender-Auth: 258a93cbc8055bbb Message-ID: <2dedb8a0907021226t128e75d9nfeb62a5a47ccad92@mail.gmail.com> To: Stanislav Malyshev Cc: "Ford, Mike" , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Flexible type hinting From: kalle@php.net (Kalle Sommer Nielsen) Hi 2009/7/2 Stanislav Malyshev : > Without saying anything on the merits of having both syntaxes, visually I > think this looks much nicer, even with the disadvantage of parentheses > overload. I agree, using the type cast operators for casting to the type, and non parentheses for strict checking isnt such a bad idea actually. It even makes sense without knowing the difference almost ;) -- regrads, Kalle Sommer Nielsen kalle@php.net