Re: Proposed changes to PHP language

From: Date: Wed, 06 Mar 2013 15:02:39 +0000
Subject: Re: Proposed changes to PHP language
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 6 March 2013 15:50, Alexandre "TAZ" dos Santos Andrade <
[email protected]> wrote:

> 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!!!!
>
>
<?php
class A
{}


$obj = new A();
var_dump($obj instanceof StdClass);

Result:
bool(false)

>
>      3. Parse body of PUT request in the same manner as it's done for POST

+1

-- 
<hype>
WWW: plphp.dk / plind.dk
CV: careers.stackoverflow.com/peterlind
LinkedIn: plind
Twitter: kafe15
</hype>


Thread (8 messages)

« previous php.internals (#66493) next »