Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48399 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76021 invoked from network); 22 May 2010 22:03:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2010 22:03:15 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 188.40.37.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 188.40.37.16 hq1.backendmedia.com Linux 2.6 Received: from [188.40.37.16] ([188.40.37.16:55956] helo=hq1.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/33-46027-0A458FB4 for ; Sat, 22 May 2010 18:03:14 -0400 Received: from localhost (unknown [127.0.0.1]) by hq1.backendmedia.com (Postfix) with ESMTP id 236B3200C18D; Sat, 22 May 2010 22:03:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from hq1.backendmedia.com ([127.0.0.1]) by localhost (hq1.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id du3U8is4kJEd; Sun, 23 May 2010 00:03:08 +0200 (CEST) Received: from soitgoes.lan (g225150230.adsl.alicedsl.de [92.225.150.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by hq1.backendmedia.com (Postfix) with ESMTPSA id 57304200C187; Sun, 23 May 2010 00:03:08 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii In-Reply-To: Date: Sun, 23 May 2010 00:03:06 +0200 Cc: Josh Davis , Zeev Suraski , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: <7.0.1.0.2.20100522175819.0a601c68@zend.com> <93EFAEF4-26F3-44A1-85ED-5E71E665B966@pooteeweet.org> To: Hannes Magnusson X-Mailer: Apple Mail (2.1078) Subject: Re: [PHP-DEV] Type hinting From: mls@pooteeweet.org (Lukas Kahwe Smith) On 23.05.2010, at 00:01, Hannes Magnusson wrote: >> can we please just stop calling a something a "type hinting" system, = which leads to a catchable fatal error when the type does not strictly = match? thats a very misleading euphemism. its simply strict typing, it = has nothing to do with hinting. >>=20 >=20 > It definitely isn't strict either: >=20 > $ php -r 'function errh() {} set_error_handler("errh", > E_RECOVERABLE_ERROR); function bar(foo $x) {echo "hello world\n";} > bar(1);' > hello world heh ... you are selling recoverable errors as anything but a solution to = display something else than a white screen? regards, Lukas Kahwe Smith mls@pooteeweet.org