Functions

From: Date: Wed, 17 Jan 2001 16:00:05 +0000
Subject: Functions
Groups: php.general 
Request: Send a blank email to php-general+get-35062@lists.php.net to get a copy of this message
Okay, There aren't Sub Routines, just Functions? I've been to the manual recommended by Augusto *thank you*, that is helping! I created a function called Foo with a single argument (and I set it up as optional, that is way cool, I can't do that in ASP) ... and my question is: I can call foo like this echo foo(dog); // outputs "This is a dog" or like this echo foo('dog'); // outputs "This is a dog" or like this echo foo("dog"); // outputs "This is a dog" Does it matter which way I pass my arguments to foo? All arguments were passed as a string variable.

« previous php.general (#35062) next »