php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #43331 Error message for non abstract class with abstract method
Submitted: 2007-11-19 10:31 UTC Modified: 2015-03-02 22:48 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: felipensp at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.3CVS-2007-11-19 (snap) OS:
Private report: No CVE-ID: None
 [2007-11-19 10:31 UTC] felipensp at gmail dot com
Description:
------------
Could be showed another message for this case.

Reproduce code:
---------------
<?php

class foo {
  public abstract function foo();
}



Expected result:
----------------
Other message

Actual result:
--------------
Fatal error: Class foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (foo::foo) in ...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-28 22:24 UTC] felipensp at gmail dot com
-Package: Feature/Change Request +Package: *General Issues
 [2010-06-28 22:24 UTC] felipensp at gmail dot com
testing
 [2010-06-28 22:25 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2010-06-28 22:25 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2010-06-28 22:25 UTC] felipe@php.net
-Assigned To: +Assigned To: felipe
 [2010-06-28 22:28 UTC] felipensp at gmail dot com
-Status: Feedback +Status: Open
 [2010-06-28 22:28 UTC] felipensp at gmail dot com
test
 [2010-06-28 22:38 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2010-06-28 22:38 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2010-06-29 00:08 UTC] felipensp at gmail dot com
-Status: Feedback +Status: Assigned
 [2010-06-29 00:08 UTC] felipensp at gmail dot com
testing
 [2010-06-29 00:09 UTC] felipe@php.net
-Status: Assigned +Status: Open -Assigned To: felipe +Assigned To:
 [2015-03-02 22:48 UTC] danack@php.net
-Status: Open +Status: Not a bug
 [2015-03-02 22:48 UTC] danack@php.net
Appears to be felipensp testing. Also 5.3CVS-2007-11-19 (snap) is not a supported version.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC