note 110358 deleted from functions.user-defined by googleguy
| From: | googleguy@php.net | Date: | Mon, 15 Oct 2012 10:02:48 +0000 |
| Subject: | note 110358 deleted from functions.user-defined by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191298@lists.php.net to get a copy of this message | ||
Note Submitter: aarunit at gmail dot com
----
<?php
/*Function defintion*/
function foo($arg1, $arg2, /***/ $arg3)
{
echo __METHOD__ , ' Function has been called <br/>';
}
/*Function Calling*/
foo(10, 20, 30);
?>
Output
=====
foo Function has been called <br/>
Understandings:
==========
__METHOD__ works like __FUNCTION__