On 21/04/2010, at 16.03, Stan Vassilev wrote:
> 
> Ahem. We all secretly know how it should've been from the very start. 
> Pseudo-methods for the basic types.
> 
> $array->merge($array2);
> $string->len();
> 

Yes. Maybe implemented so that they can be called like functions in a namespace 
for each type with the "this" value as the first param. So that:

$array->merge($array2);
<=>
\array\merge($array, $array2);

and 

\string\len($string);
<=>
$string->len();



Regards, Jacob
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to