Re: [PHP] mixed datatype

2002-01-28 Thread Jim Lucas [php]

 "my name ",
"second_arg" => "is ",
"third_arg" => "Jim.",
));

// this will print 
//  "hi there, my name is Jim."
?>

Hope this helps.

Jim Lucas
- Original Message - 
From: "charlesk " <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 8:23 AM
Subject: [PHP] mixed datatype


> How do you make a function like 
> bool session_register (mixed name [, mixed ...])
> 
> What does the function look like that it can take unlimited arguments?
> 
> Charles Killmer
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] mixed datatype

2002-01-28 Thread Matt Schroebel

http://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list

-Original Message-
>From: charlesk [mailto:[EMAIL PROTECTED]] 

>What does the function look like that it can take unlimited arguments?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] mixed datatype

2002-01-28 Thread charlesk

How do you make a function like 
bool session_register (mixed name [, mixed ...])

What does the function look like that it can take unlimited arguments?

Charles Killmer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]