Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9856 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88725 invoked by uid 1010); 14 May 2004 18:25:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88691 invoked from network); 14 May 2004 18:25:45 -0000 Received: from unknown (HELO shiva.mind.de) (212.42.230.204) by pb1.pair.com with SMTP; 14 May 2004 18:25:45 -0000 Received: from BAUMBART (p508EBD28.dip.t-dialin.net [80.142.189.40]) by shiva.mind.de (Postfix) with ESMTP id 0403997B58; Fri, 14 May 2004 20:25:43 +0200 (CEST) Date: Fri, 14 May 2004 20:25:58 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <196966242.20040514202558@marcus-boerger.de> To: Hans Lellelid Cc: internals@lists.php.net In-Reply-To: <52459.206.112.93.146.1084546424.spork@webmail.hozn.net> References: <52459.206.112.93.146.1084546424.spork@webmail.hozn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Type hints resolution? From: helly@php.net (Marcus Boerger) Hello Hans, Friday, May 14, 2004, 4:53:44 PM, you wrote: > Hi, > I just wanted to find out what the final resolution was on the typehints > discussion for RC3. I know that I (& others) will be sad to see typehints > disappear for optional parameters, but it seemed like there was a lot of > support for this from others on the list. > I didn't get a clear sense of "majority" one way or another, but it > sounded like Andi said that for PHP5RC3 there would be no more typehints > + null allowed. There was a majority on don't allow NULL by default (at least among the engine developers). And as there was no good idea that could also be implemented without sideeffects like creating problematic keywords we decided to disallow NULL for typehints and care for it after 5.0 if enough people request it and somone has a good idea for the syntax. > I just want to know if I should start stripping out typehints from > optional params in preparation for RC3. For PHP 5.0 that si definitively the way to go. regards marcus