ID:               31420
 Updated by:       [EMAIL PROTECTED]
 Reported By:      info at rhalff dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Zend Engine 2 problem
 Operating System: linux
 PHP Version:      5.0.2
 New Comment:

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




Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to