c in PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • badz

    c in PHP

    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..
    thanks..
    again..

    mata kondo

  • Chris Hope

    #2
    Re: c in PHP

    badz wrote:
    [color=blue]
    > 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..
    > thanks..
    > again..[/color]

    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/

    Comment

    • Aidan

      #3
      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.


      "badz" <badz22@gmail.c om> wrote in message
      news:1110509127 .307838.77900@z 14g2000cwz.goog legroups.com...[color=blue]
      > 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..
      > thanks..
      > again..
      >
      > mata kondo
      >[/color]


      Comment

      • badz

        #4
        Re: c in PHP

        Thanks guys... now its refresh back my memory

        Comment

        Working...