ID:               30452
 User updated by:  guth at fiifo dot u-psud dot fr
-Summary:          php parser don't work properly (1)
 Reported By:      guth at fiifo dot u-psud dot fr
-Status:           No Feedback
+Status:           Open
 Bug Type:         Zend Engine 2 problem
 Operating System: Linux
 PHP Version:      5.0.2
 Assigned To:      andi
 New Comment:

No change.

Fatal error: Class 'MyAbstractClass' not found in /www/test3.php on
line 5


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

[2005-04-02 01:00:26] php-bugs at lists dot php dot net

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".

------------------------------------------------------------------------

[2005-03-25 01:34:07] [EMAIL PROTECTED]

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



------------------------------------------------------------------------

[2004-10-16 01:56:33] guth at fiifo dot u-psud dot fr

Description:
------------
The following behaviour seems incorrect.

PHP founds the abstract class if it doesn't implement an interface, but
doen't found it if it implements an interface.

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

interface MyInterface { }

class MyClass extends MyAbstractClass { }

abstract class MyAbstractClass implements MyInterface { }

?>

<?php

interface MyInterface { }

class MyClass extends MyAbstractClass implements MyInterface { }

abstract class MyAbstractClass { }

?>

Expected result:
----------------
First :
- Should work

Second :
- Should work

Actual result:
--------------
First :

Fatal error: Class 'MyAbstractClass' not found in /www/test.php on line
5

Second :
- Work


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30452&edit=1

Reply via email to