Is this a php bug?
- From: Yarco <yarco.w@xxxxxxxxx>
- Date: Fri, 29 Jun 2007 13:49:59 -0000
[yarco@localhost test]$ cat test1.php
<?php
interface C
{
}
class A extends B
{
}
?>[yarco@localhost test]$ cat test2.php
<?php
class B implements C
{
}
?>[yarco@localhost test]$ cat test3.php
<?php
require_once dirname(__FILE__).'/test2.php';
require_once dirname(__FILE__).'/test1.php';
?>[yarco@localhost test]$ php test3.php
PHP Fatal error: Interface 'C' not found in /home/yarco/Projects/test/
test2.php on line 3
[yarco@localhost test]$ php -v
PHP 5.2.1 (cli) (built: Jun 3 2007 12:45:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
.
- Follow-Ups:
- Re: Is this a php bug?
- From: ZeldorBlat
- Re: Is this a php bug?
- Prev by Date: RE: [PHP] Address book - LDAP or MySQL?
- Next by Date: RE: Address book - LDAP or MySQL?
- Previous by thread: Address book - LDAP or MySQL?
- Next by thread: Re: Is this a php bug?
- Index(es):
Relevant Pages
|