Jump to content

How many returns() can a function have


taps128

Recommended Posts

As if you will look here:
[a href=\"http://www.php.net/manual/en/function.return.php\" target=\"_blank\"]http://www.php.net/manual/en/function.return.php[/a]
You will see that: "the return() statement immediately ends execution of the current function, and returns its argument as the value of the function call".
But as ober said, you can use arrays.

Orio.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.