|
Subject:
|
Professional PHP5 p25 Interface Problem
|
|
Posted By:
|
mercury7
|
Post Date:
|
1/13/2006 2:18:50 AM
|
Can anyone explain why when using the code
interface Openable { abstract function open(); abstract function close(); }
results in a
Fatal error: Access type for interface method Openable::open() must be omitted in e:\Apache\htdocs\PHP5\06 interfaces\interface.Opener.php on line 15
unless I comment out the 2 abstract functions, in which case the whole example code works perfectly.
TIA
Mark
|
|