Page 1 of 1

What's the meaning of & here ?

Posted: Fri Aug 22, 2008 5:33 pm
by Mds
Hello all.
I saw somewhere this function:

function char_cube3d(&$bitmaps, $letter)
{ ... }

What's the meaning of & ?

Thank you.

Re: What's the meaning of & here ?

Posted: Fri Aug 22, 2008 5:37 pm
by jaoudestudios
Is that the ampersand symbol? &

It means reference or pointer. It is the same as using $$.

Re: What's the meaning of & here ?

Posted: Fri Aug 22, 2008 5:41 pm
by Mds
Is that the ampersand symbol?
Yeah

Thank you jaoudestudios.
You're very expert in PHP 8O

Re: What's the meaning of & here ?

Posted: Fri Aug 22, 2008 5:43 pm
by jaoudestudios
No problem, and thank you. But that is not true, there is always so much to learn, especially with php6 coming out shortly! I am currently bashing my head at the moment with actionscript 3 - it makes php look like a baby language!

Re: What's the meaning of & here ?

Posted: Fri Aug 22, 2008 5:48 pm
by Mds
actionscript 3 - it makes php look like a baby language!
I think SilverLight defeats Flash , thus I want to learn SilverLight .

Re: What's the meaning of & here ?

Posted: Sat Aug 23, 2008 2:17 am
by jaoudestudios
No way! Why?