Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33270 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12572 invoked by uid 1010); 18 Nov 2007 23:35:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12548 invoked from network); 18 Nov 2007 23:35:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2007 23:35:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=sam@sambarrow.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sam@sambarrow.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sambarrow.com from 205.234.132.11 cause and error) X-PHP-List-Original-Sender: sam@sambarrow.com X-Host-Fingerprint: 205.234.132.11 scottsdale.servershost.net Received: from [205.234.132.11] ([205.234.132.11:36643] helo=scottsdale.servershost.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/62-31009-D2CC0474 for ; Sun, 18 Nov 2007 18:35:09 -0500 Received: from [216.15.51.211] (port=50912 helo=[192.168.1.90]) by scottsdale.servershost.net with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.68) (envelope-from ) id 1IttfP-0005Jg-KV; Sun, 18 Nov 2007 17:35:07 -0600 To: Derick Rethans Cc: internals@lists.php.net In-Reply-To: References: <1195140437.23612.5.camel@sbarrow-desktop> <10610581037.20071115172619@marcus-boerger.de> Content-Type: text/plain Date: Sun, 18 Nov 2007 18:35:20 -0500 Message-ID: <1195428920.4686.7.camel@sams-room> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - scottsdale.servershost.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sambarrow.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] [PATCH] Optional scalar type hinting From: sam@sambarrow.com (Sam Barrow) I've been working on your patch, adding types and making it more stable. Worked pretty good for me though, with the exception of a couple things (some code was different in 5.3 than in your diff files, but that makes sense as you wrote this patch in 2006). I think more type hinting in all areas would be good, and if this is something that is going to be implemented, I am willing to do as much of the work as I'd have to. On Sun, 2007-11-18 at 21:25 +0100, Derick Rethans wrote: > On Thu, 15 Nov 2007, Marcus Boerger wrote: > > > we discussed this a million times already I think. And the conclusion is > > to not allow type hinting for base types. > > I am actually thinking that it might be a good thing to add more and > more. I know my quick hack isn't the best implementation though. > > Derick >