On Sat, Jul 29, 2006 at 10:24:26PM +0300, Domas Mituzas wrote:
Chad,
$ time php -f comma.php
I'm sure you understand, that most of our string operations are happening not in print/echo ;-)
Yes . . .
. . . and?
Concatenation occurs before print or echo operates on the string. I wasn't sure whether echo operated on each argument in a comma-separated list individually or as an aggregate whole, though judging by the slowness of it I'm inclined to believe the former now. Interpolation occurs outside of print or echo, and the resulting interpolated string output is operated upon by print or echo.
I'm not sure what your point was.