Re: How do I to declare a function or procedure in PHP???
| From: | April | Date: | Thu, 25 Jan 2001 15:50:28 +0000 |
| Subject: | Re: How do I to declare a function or procedure in PHP??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36635@lists.php.net to get a copy of this message | ||
function function_name($input, $inputtwo) {
// stuff goes in here.
}
and then call it with:
function_name($input, $inputtwo);
----- Original Message -----
From: "Bruno Freire" <bruno@fujinor.com.br>
To: <php-general@lists.php.net>
Sent: Thursday, January 25, 2001 10:39 AM
Subject: [PHP] How do I to declare a function or procedure in PHP???
> Please ,
> I don't know how to declare a function....how is the scope??
>
> In C++ is for example...
>
> Void test(int a, int b)
> {
> .....
>
> }
>
> But...
>
> In php???? HOW DO I DECLARE A FUNCTION OR PROCEDURE????
>
> Bruno....Brazil
>