c in PHP

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi meet u again...

Upon my journey on pHp  I found some of code contain
retur false ;
return 0;
also  it have return ;

can anyone explain what this return mean and do..

mata kondo

Re: c in PHP

They are returning a value from a function.  Just like in C, except the
syntax of defining functions in PHP is slightly different.

Quoted text here. Click to load it

Re: c in PHP

badz wrote:

Quoted text here. Click to load it

return returns a value from a function call. Refer to the following
manual page for more information:

Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com /

Re: c in PHP

Thanks guys... now its refresh back my memory

Site Timeline