hi Rasmus,
On Wed, Jul 18, 2012 at 8:49 PM, Rasmus Lerdorf <[email protected]> wrote:
> This makes no sense to me either. How does it let us clean the APIs? Can
> you give an example? I have one:
>
> $a = -5;
> $b = "-5";
>
> echo $a->abs(); // Outputs 5
> echo $b->abs(); // should still output 5
>
> What has been cleaned here over:
>
> echo abs($a);
> echo abs($b);
Heh, here is another example where it makes even less sense: time();
sigh.
More seriously... we are not talking about these APIs and I am sure
you know which one I refer to, like the string API and the like.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org