Re: Proposed changes to PHP language
| From: | Peter Lind | 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 internals+get-66493@lists.php.net to get a copy of this message | ||
On 6 March 2013 15:50, Alexandre "TAZ" dos Santos Andrade <
alexandretaz@gmail.com> 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>