|
Posted by Rik on 02/17/07 16:44
On Sat, 17 Feb 2007 14:41:08 +0100, Kimmo Laine <spam@outolempi.net> wrote:
> Rik kirjoitti:
>> On Sat, 17 Feb 2007 00:54:36 +0100, shimmyshack <matt.farey@gmail.com>
>> wrote:
>>> yeah, do you know in years of php programming I've only ever
>>> concatenated strings when using echo - my bad - although I always use
>>> ' instead of " so brownie points there huh! perhaps its time to go
>>> read up on some other functions too! sorry for any confusion, I don't
>>> think ill be notifying the php doc group!
>> echo is not a function, it's a construct :P
>> Hence the unexpecyed behaviour.
>> --Rik Wasmus
>
> Normal functions are also capable of recieveing an arbitrary number of
> parameters. Print just isn't programmed to handle them. It's true that
> echo is a language construct, but that doesn't make it magical.
Indeed you are right, I was talking out of my ass. Being a construct has
nothing to do with it (other then you don't need brackets). Why the hell
do I feel the need to post at 5 o'clock at night after a party?
--
Rik Wasmus
Navigation:
[Reply to this message]
|