Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66491 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93035 invoked from network); 6 Mar 2013 14:42:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2013 14:42:13 -0000 Authentication-Results: pb1.pair.com header.from=steve@mrclay.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=steve@mrclay.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mrclay.org from 50.22.11.19 cause and error) X-PHP-List-Original-Sender: steve@mrclay.org X-Host-Fingerprint: 50.22.11.19 bedford.accountservergroup.com Received: from [50.22.11.19] ([50.22.11.19:55297] helo=bedford.accountservergroup.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/C2-03015-3C557315 for ; Wed, 06 Mar 2013 09:42:12 -0500 Received: from n128-227-69-180.xlate.ufl.edu ([128.227.69.180]:50056 helo=Distance-Ed-Sclay.local) by bedford.accountservergroup.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1UDFXk-0008De-Fw for internals@lists.php.net; Wed, 06 Mar 2013 08:42:08 -0600 Message-ID: <513755BF.30205@mrclay.org> Date: Wed, 06 Mar 2013 09:42:07 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: PHP Internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bedford.accountservergroup.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mrclay.org Subject: Re: [PHP-DEV] Proposed changes to PHP language From: steve@mrclay.org (Steve Clay) On 3/6/13 7:48 AM, Max Romanovsky wrote: > 2. Introduce base class for all PHP classes. E.g. Object. It would help > in type hinting and allow to add new common methods without any magic. Type-hinting for non-stdClass objects would be handy. Base class is like mutable Object.prototype in JS. I'm against it. > 3. Parse body of PUT request in the same manner as it's done for POST There are arguments for/against here: https://bugs.php.net/bug.php?id=55815 > compatibility. Otherwise $_REQUEST handling should be aware of new array > with PUT data. For BC, PUT data should not be injected into existing vars. Steve Clay -- http://www.mrclay.org/