Bug #11547 Updated: Functions can be redefined within classes

From: Date: Tue, 19 Jun 2001 14:24:04 +0000
Subject: Bug #11547 Updated: Functions can be redefined within classes
Groups: php.dev 
Request: Send a blank email to php-dev+get-57262@lists.php.net to get a copy of this message
ID: 11547 Updated by: kalowsky Reported By: btanner@home.com Status: Closed Bug Type: Scripting Engine problem Operating system: PHP Version: 4.0.5 Assigned To: Comments: i should correctly quote Jani... he said he believes it's normal. Sorry about the confusion. Previous Comments: --------------------------------------------------------------------------- [2001-06-19 10:15:22] kalowsky@php.net yes it's expected behavior... at least according to Jani --------------------------------------------------------------------------- [2001-06-18 23:23:59] btanner@home.com 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? --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11547&edit=2

« previous php.dev (#57262) next »