Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38523 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26453 invoked from network); 22 Jun 2008 21:51:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2008 21:51:55 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:37150] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/B6-23032-A79CE584 for ; Sun, 22 Jun 2008 17:51:55 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Jun 2008 00:52:04 +0300 Received: from [192.168.17.9] ([192.168.17.9]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 22 Jun 2008 14:52:00 -0700 Message-ID: <485EC971.4090100@zend.com> Date: Sun, 22 Jun 2008 14:51:45 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: 'PHP Internals' References: <485AE658.3050204@zend.com> <0BA4A4FD-7FA2-49C0-B7B9-06CDDCF2EFBF@pooteeweet.org> <485EC24C.4030607@zend.com> <09E0DEA2-FDA6-4AD2-A4D0-1441A6053779@pooteeweet.org> In-Reply-To: <09E0DEA2-FDA6-4AD2-A4D0-1441A6053779@pooteeweet.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Jun 2008 21:52:00.0884 (UTC) FILETIME=[333B2340:01C8D4B2] Subject: Re: [PHP-DEV] cleaning up the functions - any volunteers? From: stas@zend.com (Stanislav Malyshev) Hi! > Since 5.0 this would lead to $bar being false and not $array. While it > could be argued that the user should do an explicit cast himself, it was > still a clear BC issue that caused a lot of issues for developers. Generally I think it would be nice if all functions behaved uniformly (i.e. zend_parse_parameters has a standard, all use it). But we could create special cases by accepting things as "z" and doing whatever we want, I guess. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com