Interface not existing says Class not found
| Bug #30519 | Interface not existing says Class not found | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2004-10-21 20:48 UTC | Modified: | 2005-08-04 13:05 UTC |
|
||||||||||
| From: | jsgoupil at lookstrike dot com | Assigned: | dmitry (profile) | |||||||||||
| Status: | Closed | Package: | Scripting Engine problem | |||||||||||
| PHP Version: | 5CVS-2005-06-19 | OS: | * | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2004-10-21 20:48 UTC] jsgoupil at lookstrike dot com
Description:
------------
If you specify an interface that not exists to a class, the output error is saying a "wrong" message...
Reproduce code:
---------------
<?php
class test implements a {
}
?>
Expected result:
----------------
Fatal error: Interface 'a' not found in D:\www\LookStrike\ls_lite\a.php on line 2
Actual result:
--------------
Fatal error: Class 'a' not found in D:\www\LookStrike\ls_lite\a.php on line 2
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-08-04 09:14 UTC] sniper@php.net
[2005-08-04 13:05 UTC] jsgoupil@php.net