note 59186 deleted from functions.arguments by nlopess
| From: | nlopess@php.net | Date: | Wed, 30 Nov 2005 19:19:29 +0000 |
| Subject: | note 59186 deleted from functions.arguments by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-99384@lists.php.net to get a copy of this message | ||
Note Submitter: pablo_net at op dot pl
----
I've just started learning PHP and I noticed error i your script
function robkawe ($typ = "cappucino")
{
return "Robię kubek $type.\n";
}
echo robkawe ();
echo robkawe ("espresso");
There should be $typ instead of $type in return string of your function.
:)