Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38250 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83101 invoked from network); 15 Jun 2008 11:29:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2008 11:29:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.7 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.7 mail.jdi-ict.nl Linux 2.6 Received: from [82.94.239.7] ([82.94.239.7:34183] helo=mail.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BE/8B-06776-52DF4584 for ; Sun, 15 Jun 2008 07:29:43 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id m5FBTd2A023753; Sun, 15 Jun 2008 13:29:39 +0200 Date: Sun, 15 Jun 2008 13:29:39 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: Timm Friebe cc: internals@lists.php.net In-Reply-To: <02bb01c8cecc$76b73eb0$14b2a8c0@kartofel> Message-ID: References: <46ccd1ab0804170742g142ed562t4f03339da549a820@mail.gmail.com> <02bb01c8cecc$76b73eb0$14b2a8c0@kartofel> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Strict type hints (parameter and return value) From: derick@php.net (Derick Rethans) On Sun, 15 Jun 2008, Timm Friebe wrote: > > If anyone wants use type hinting, i believe that it should be strict. > > Otherwise, it makes more sense to not use it. > > I like this generally, but cannot live with the BC issues raised. Introducing > all type names as keywords will make "class Object", "class Integer" and so on > give a syntax error. http://www.php.net/manual/en/userlandnaming.rules.php regards, Derick