Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26303 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88488 invoked by uid 1010); 3 Nov 2006 18:39:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88473 invoked from network); 3 Nov 2006 18:39:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2006 18:39:44 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.92.173 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.92.173 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.173] ([66.249.92.173:38828] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/02-07680-0FC8B454 for ; Fri, 03 Nov 2006 13:39:44 -0500 Received: by ug-out-1314.google.com with SMTP id 80so785304ugb for ; Fri, 03 Nov 2006 10:39:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZeiVu43INItNrXwpbGS4v0SQvZBiYOHKvjA216rxKDeSWR6la5tmE03ECrahcfYF/UmUR2Vq8nu9WrjCTTMWee/YVhWnyRsOug7rU/EFPoWKWrcZQNGXC5U4gBwe+Vs9VLHMst+y2LWkqfWJ8aiTgeLDCwa3PCJon3MciuKKzNY= Received: by 10.78.185.7 with SMTP id i7mr3263318huf.1162579181157; Fri, 03 Nov 2006 10:39:41 -0800 (PST) Received: by 10.78.137.6 with HTTP; Fri, 3 Nov 2006 10:39:41 -0800 (PST) Message-ID: Date: Fri, 3 Nov 2006 19:39:41 +0100 To: "Hannes Magnusson" Cc: internals@lists.php.net In-Reply-To: <7f3ed2c30611031000j2dc48a6amb7f04c8011442b56@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7f3ed2c30611031000j2dc48a6amb7f04c8011442b56@mail.gmail.com> Subject: Re: [PHP-DEV] [PATCH] Scalar type hinting ;) From: pierre.php@gmail.com (Pierre) Hello, On 11/3/06, Hannes Magnusson wrote: > Hello all! > > Attached is a patch (against 5_2) to allow scalar type hinting \o/ > > I realize that maaany will be against it so I won't be pushing it (a > lot), just wanted the patch archived somewhere :) -1 unless we add a "strongly typed" mode in php and allow scalar type hinting only in this mode. But thinking about php raising errors when I pass string("1") instead of int(1 )is not really what I consisder as a nice addition :) --Pierre