note 103847 rejected from language.functions by danbrown
| From: | danbrown@php.net | Date: | Fri, 06 May 2011 14:34:58 +0000 |
| Subject: | note 103847 rejected from language.functions by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179494@lists.php.net to get a copy of this message | ||
Note Submitter: info at cattanisimone dot it
----
Hi, can i put a function in a if structure?
some like this:
<?php
if(true){
function HelloWorld(){
echo "Hello World";
}
HelloWorld();
}
?>