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

From: Date: Thu, 04 Aug 2005 04:10:01 +0000
Subject: #30519 [Csd->Opn]: Interface not existing says Class not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82929@lists.php.net to get a copy of this message
ID: 30519 Updated by: jsgoupil@php.net Reported By: jsgoupil at lookstrike dot com -Status: Closed +Status: Open Bug Type: Scripting Engine problem Operating System: * PHP Version: 5CVS-2005-06-19 Assigned To: dmitry New Comment: Reproducible in 5.1.0b2 Previous Comments: ------------------------------------------------------------------------ [2005-06-24 10:46:14] dmitry@php.net Fixed in CVS HEAD and PHP_5_0. ------------------------------------------------------------------------ [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

« previous php.bugs (#82929) next »