php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #121 Subclass can't overwrite function
Submitted: 1998-03-01 08:52 UTC Modified: 1998-03-01 09:04 UTC
From: cs at hal dot kph dot tuwien dot ac dot at Assigned:
Status: Closed Package: Parser error
PHP Version: 3.0b2 OS: Linux
Private report: No CVE-ID: None
 [1998-03-01 08:52 UTC] cs at hal dot kph dot tuwien dot ac dot at
If function names contain of mixed upper- and lower case letters, subclasses can't overwrite the function.
Error Message:
	Fatal error: Can't redeclare already declared
	function in....

Workaround: Convert all function names to lower case.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-01 09:04 UTC] zeev
Fixed long ago...
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jun 03 19:03:38 2023 UTC