Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26314 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49314 invoked by uid 1010); 3 Nov 2006 20:34:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 49299 invoked from network); 3 Nov 2006 20:34:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2006 20:34:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:44536] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/8B-07680-6D7AB454 for ; Fri, 03 Nov 2006 15:34:34 -0500 Message-ID: Received: (qmail 5324 invoked from network); 3 Nov 2006 20:33:03 -0000 Received: from localhost (HELO zeev-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 3 Nov 2006 20:33:03 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 03 Nov 2006 12:34:24 -0800 To: Pierre Cc: "Hannes Magnusson" ,internals@lists.php.net In-Reply-To: References: <7f3ed2c30611031000j2dc48a6amb7f04c8011442b56@mail.gmail.com> <179799177.20061103194649@marcus-boerger.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] [PATCH] Scalar type hinting ;) From: zeev@zend.com (Zeev Suraski) At 11:12 03/11/2006, Pierre wrote: >Hello, > >On 11/3/06, Marcus Boerger wrote: >>Hello Pierre, >> >> i think it would only make sense if the automatic type conversion is >>correctly supported but then why use it at all? That by the way is the >>reason we declined it in the past several times. > >Exactly Exactly++. And it doesn't make sense to have different semantics for the same type-hinting feature (ensuring the right type, or converting to the right type), therefore, no scalar type hinting. Zeev