#30519 [Opn]: Interface not existing says Class not found

From: Date: Sat, 23 Oct 2004 06:57:17 +0000
Subject: #30519 [Opn]: Interface not existing says Class not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67978@lists.php.net to get a copy of this message
 ID:               30519
 Updated by:       tony2001@php.net
 Reported By:      jsgoupil at lookstrike dot com
 Status:           Open
-Bug Type:         Output Control
+Bug Type:         Zend Engine 2 problem
 Operating System: WinXP
 PHP Version:      5.0.2
 New Comment:

Reclassify.


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

[2004-10-21 20:48:56] 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


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


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


Thread (7 messages)

« previous php.bugs (#67978) next »