ID: 30201 Updated by: [EMAIL PROTECTED] Reported By: sveta at microbecal dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Windows XP PHP Version: 5.0.0 New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2004-09-22 23:20:10] sveta at microbecal dot com Description: ------------ In manual I see: Object interfaces allow you to create code which specifies which methods and *variables* a class must implement... But when I try to specifie a variable in my interface, I get next error: Fatal error: Interfaces may not include member variables in blah-blah-blah/script.php on line 25 Reproduce code: --------------- interface Test { public $var; } Expected result: ---------------- Fatal error: Interfaces may not include member variables in blah-blah-blah/script.php on line 25 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30201&edit=1