note 24993 deleted from functions by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Fri, 06 Sep 2002 23:02:15 +0000 |
| Subject: | note 24993 deleted from functions by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36285@lists.php.net to get a copy of this message | ||
It should be noted that calling a function that takes no parameters without using the parenthesis,
will not work and will not return any errors. For example:
function foo()
{
print("hi");
}
foo; /* will NOT work */
foo(); /* WILL work */
Took me about 15 minutes to figure this out as I stood at the screen and my page showed no content
at all.