Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48434 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21505 invoked from network); 24 May 2010 15:50:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2010 15:50:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:60342] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/41-13219-F20AAFB4 for ; Mon, 24 May 2010 11:50:09 -0400 Received: from il-gw1.zend.com (unknown [10.1.1.21]) by il-mr1.zend.com (Postfix) with ESMTP id E2A3050495; Mon, 24 May 2010 18:27:04 +0300 (IDT) Received: from LAP-ZEEV.zend.com ([10.1.2.35]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 24 May 2010 18:50:03 +0300 Message-ID: <7.0.1.0.2.20100524184827.169b8f80@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 24 May 2010 18:50:02 +0300 To: Daniel Convissor Cc: PHP Internals List In-Reply-To: <20100524153901.GA12660@panix.com> References: <7.0.1.0.2.20100522175819.0a601c68@zend.com> <65101.93.108.152.52.1274662417.squirrel@www.geleia.net> <7.0.1.0.2.20100524075150.16056330@zend.com> <20100524153901.GA12660@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 24 May 2010 15:50:03.0674 (UTC) FILETIME=[C6569FA0:01CAFB58] Subject: Re: [PHP-DEV] Type hinting From: zeev@zend.com (Zeev Suraski) At 18:39 24/05/2010, Daniel Convissor wrote: >On a side note, I hope the hinting will allow the ability to do something >something like "int|null" for graceful handling of optional parameters. There was an idea to allow null if you use 'int foo = null' - but only that particular use case (e.g., no support for the equivalent of string|int). Zeev