Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34359 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43245 invoked by uid 1010); 3 Jan 2008 21:49:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43230 invoked from network); 3 Jan 2008 21:49:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jan 2008 21:49:22 -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:54490] helo=scottsdale.servershost.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/CD-20810-E585D774 for ; Thu, 03 Jan 2008 16:49:20 -0500 Received: from [98.172.154.66] (port=61305 helo=[10.200.100.14]) by scottsdale.servershost.net with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.68) (envelope-from ) id 1JAXw7-0002lk-BI; Thu, 03 Jan 2008 15:49:11 -0600 To: Markus Fischer Cc: Jochem Maas , Tomi Kaistila , internals@lists.php.net In-Reply-To: <477D5593.5050407@fischer.name> References: <200801031903.01980.tomi@cumulo.fi> <1199380881.15292.11.camel@sbarrow-desktop> <200801032019.03957.tomi@cumulo.fi> <477D2E51.3080101@iamjochem.com> <1199386464.15292.16.camel@sbarrow-desktop> <477D5593.5050407@fischer.name> Content-Type: text/plain Date: Thu, 03 Jan 2008 16:47:42 -0500 Message-ID: <1199396862.15292.88.camel@sbarrow-desktop> 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] RE: Optional scalar type hinting From: sam@sambarrow.com (Sam Barrow) On Thu, 2008-01-03 at 22:37 +0100, Markus Fischer wrote: > Of course, Jochem, you're right. Exceptions would be nice. > WrongArgumentException, InvalidWhateverException, ... That would be very nice. The full blown suite of exception error handlers could be a future project, depending on code contributors and community support. As for my patch, I think we can all agree on E_WARNING.