Re: Proposed changes to PHP language

From: Date: Wed, 06 Mar 2013 14:42:07 +0000
Subject: Re: Proposed changes to PHP language
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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/

Thread (8 messages)

« previous php.internals (#66491) next »