RE: [PHP-DEV] feature proposal: string types (complete with a patch)
| From: | James Cox | Date: | Thu, 02 May 2002 07:21:00 +0000 |
| Subject: | RE: [PHP-DEV] feature proposal: string types (complete with a patch) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83589@lists.php.net to get a copy of this message | ||
> IMO we should not consider this if it impacts performance even 10% (this
> is an arbitrary number. One of the strengths is the speed and I
> don't want
> to lose this.
>
agreed; php needs not to add any perf hits > 1% without undeniable benefit.
> Looks perlish to me, I'd rather see a casting thing like this then:
>
> echo (url) "http://$host:$port/$path";
>
this would be my preference too, given that what we're doing here is
essentially an extension of casting.