Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48384 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6839 invoked from network); 22 May 2010 15:04:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2010 15:04:10 -0000 Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; 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:60777] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 85/17-46027-762F7FB4 for ; Sat, 22 May 2010 11:04:09 -0400 Received: from il-gw1.zend.com (unknown [10.1.1.21]) by il-mr1.zend.com (Postfix) with ESMTP id B088A5055E for ; Sat, 22 May 2010 17:41:11 +0300 (IDT) Received: from LAP-ZEEV.zend.com ([10.1.20.36]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 22 May 2010 18:04:03 +0300 Message-ID: <7.0.1.0.2.20100522175819.0a601c68@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Sat, 22 May 2010 18:04:02 +0300 To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 22 May 2010 15:04:03.0745 (UTC) FILETIME=[04776110:01CAF9C0] Subject: Type hinting From: zeev@zend.com (Zeev Suraski) All, As I mentioned numerous times scalar type hinting is a very controversial feature in my mind and requires some substantial discussion before we move ahead to implement it. As such, I think we should revert the patch that was committed to trunk and move to discuss it first instead. My (& Lukas') thoughts on the subject are detailed at http://wiki.php.net/rfc/typecheckingstrictandweak As one of the key people who designed PHP's type system I consider strict type checks completely alien to and counterintuitive in PHP and am therefore pushing to implement 'weak' typing instead, in a way that's consistent and familiar to users. Zeev