#20459 [Opn->Fbk]: functions contained in if/else
| From: | derick@php.net | Date: | Sun, 17 Nov 2002 11:33:50 +0000 |
| Subject: | #20459 [Opn->Fbk]: functions contained in if/else | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25088@lists.php.net to get a copy of this message | ||
ID: 20459
Updated by: derick@php.net
Reported By: pickleman78@sbcglobal.net
-Status: Open
+Status: Feedback
Bug Type: Feature/Change Request
Operating System: Windows ME
PHP Version: 4.3.0-pre2
New Comment:
Can you illustrate this with a (small) code example on how you would
like to see it? I think you also want to have a look at
php.net/function_exists .
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-11-16 22:04:16] pickleman78@sbcglobal.net
Well, this is just a featire request/concept thing. Could you make it
where if you declare a function in an if/else statement, and you call
it outside of that statement, before it returns an error, it checks and
sees if the function was declared an if/else statement? I don't know if
this is possiblem but just a thought
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20459&edit=1