Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66492 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94609 invoked from network); 6 Mar 2013 14:51:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2013 14:51:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=alexandretaz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=alexandretaz@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) X-PHP-List-Original-Sender: alexandretaz@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:57473] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/13-03015-3D757315 for ; Wed, 06 Mar 2013 09:51:01 -0500 Received: by mail-wi0-f170.google.com with SMTP id hm11so3054432wib.1 for ; Wed, 06 Mar 2013 06:50:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=oI8XG2BWwgNhMhQJOqXgg8/5J9Hz963/7v+er7mAJCo=; b=dhAwqDHHSPj5iOSGLsBCztjnzcYXKWq52q/ila8ql4VaAfY8RFqaYsqnuoTuLMM81Q oySK4GT5qIlRb+Z7lOs0Ha3C98fj7+ESdExEiqkiATEjmNSU54pYDceDG46hdLpoAi56 hBuGpmt7KC9se6aA57vvQJhsTaa9WcaTmAg/jyYBEPdGnGfJFjE18ssgM0LQHdjTwo3R 8Pg6pPebwYhFwudDfq/1WwQxCsLsDjYCwBuA0WeKh+Yd5PmuZZSvB1ypXZvvFQykkDp0 8r0ZLTyeDynoZyFCsve5uQJSEqijicOlQlZ1vmNn4+vGxCYJgATb9LD0kRx71dXIJn4l G+FA== MIME-Version: 1.0 X-Received: by 10.194.20.40 with SMTP id k8mr47788144wje.16.1362581456858; Wed, 06 Mar 2013 06:50:56 -0800 (PST) Received: by 10.216.235.217 with HTTP; Wed, 6 Mar 2013 06:50:56 -0800 (PST) In-Reply-To: <513755BF.30205@mrclay.org> References: <513755BF.30205@mrclay.org> Date: Wed, 6 Mar 2013 11:50:56 -0300 Message-ID: To: Steve Clay Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7b5d4404b6b68b04d742b71b Subject: Re: [PHP-DEV] Proposed changes to PHP language From: alexandretaz@gmail.com ("Alexandre \"TAZ\" dos Santos Andrade") --047d7b5d4404b6b68b04d742b71b Content-Type: text/plain; charset=UTF-8 This item 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. StdClass Already do that!!!! 2013/3/6 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/ > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Join Me at CW Connect! --047d7b5d4404b6b68b04d742b71b--