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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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.

Patches

Pull Requests

History

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: Sat Dec 21 17:01:58 2024 UTC