Bug #11547: Functions can be redefined within classes
| From: | btanner at home dot com | Date: | Tue, 19 Jun 2001 03:23:59 +0000 |
| Subject: | Bug #11547: Functions can be redefined within classes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57083@lists.php.net to get a copy of this message | ||
From: btanner@home.com
Operating system: Windows 2000
PHP version: 4.0.5
PHP Bug Type: Scripting Engine problem
Bug description: Functions can be redefined within classes
PHP throws me an error if I redefine a function within my code. However, within a class, I can
redefine a function as many times as I please, and PHP is more than happy to execute my code.
Is this expected behaviour?
--
Edit Bug report at: http://bugs.php.net/?id=11547&edit=1