|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-09 11:31 UTC] sniper@php.net
[2005-06-19 14:47 UTC] sniper@php.net
[2005-06-24 10:56 UTC] gopalv82 at yahoo dot com
[2005-08-09 13:55 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 19:00:01 2025 UTC |
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