Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17594 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61797 invoked by uid 1010); 8 Aug 2005 12:24:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 61782 invoked from network); 8 Aug 2005 12:24:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2005 12:24:41 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:49338] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B1/A5-04646-80F47F24 for ; Mon, 08 Aug 2005 08:24:40 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j78CObHO009403 for ; Mon, 8 Aug 2005 14:24:37 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j78COVZv009390; Mon, 8 Aug 2005 14:24:32 +0200 Date: Mon, 8 Aug 2005 14:24:31 +0200 (CEST) X-X-Sender: derick@localhost To: Andrey Hristov cc: PHP Developers Mailing List In-Reply-To: <20050808141732.lienuuns5ds4w0ks@hristov.com> Message-ID: References: <20050808141732.lienuuns5ds4w0ks@hristov.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: Re: [PHP-DEV] type hinting throwing a fatal error From: derick@php.net (Derick Rethans) On Mon, 8 Aug 2005, Andrey Hristov wrote: > Hmm, > I was complaining about inusaability ot type hinting because of this fatal > errors but nobody seems heard me :(. One better do a check in the code than > risking a fatal error which is unstoppable... > I call this showstopper if we say that we are proud with the type-hinting. Proof-of-concept patch is here: http://files.derickrethans.nl/patches/typehint-reference-2005-08-08.diff.txt (I need to clean up the message allocation stuff) Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org