|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: cs at hal dot kph dot tuwien dot ac dot at
New email:
PHP Version: OS:


 [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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-01 09:04 UTC] zeev
Fixed long ago...
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 13:01:28 2024 UTC