#31420 [Fbk->NoF]: Confusing error message (to me)
| From: | php-bugs at lists dot php dot net | Date: | Sat, 05 Feb 2005 00:00:06 +0000 |
| Subject: | #31420 [Fbk->NoF]: Confusing error message (to me) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73489@lists.php.net to get a copy of this message | ||
ID: 31420
Updated by: php-bugs@lists.php.net
Reported By: info at rhalff dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Zend Engine 2 problem
Operating System: linux
PHP Version: 5.0.2
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2005-01-26 04:29:10] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-01-19 22:58:27] info at rhalff dot com
I notice I've mixed up the expected and actual result,
so actual should be expected and visa versa.
------------------------------------------------------------------------
[2005-01-05 22:01:07] info at rhalff dot com
Description:
------------
This is not a bug in php itself, but the error message is confusing.
It tells me to make class bie abstract.
Where I think it should tell me I should implement method b.
Reproduce code:
---------------
<?php
interface a {
public function b();
}
class bie implements a { }
new bie;
?>
Expected result:
----------------
Fatal error: Class bie contains 1 abstract methods and must therefore
be declared abstract (a::b)
Actual result:
--------------
Fatal error: Class bie should implement method b from interface a in
/usr/src/test.php on line 16
or something like that.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31420&edit=1