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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Mon Dec 02 07:01:30 2024 UTC