From: info at rhalff dot com
Operating system: linux
PHP version: 5.0.2
PHP Bug Type: Zend Engine 2 problem
Bug description: Confusing error message (to me)
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 bug report at http://bugs.php.net/?id=31420&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31420&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31420&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31420&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31420&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31420&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31420&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31420&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31420&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31420&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31420&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31420&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31420&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31420&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31420&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31420&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31420&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31420&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31420&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31420&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31420&r=mysqlcfg