ID: 43027 Updated by: [EMAIL PROTECTED] Reported By: felipensp at gmail dot com -Status: Assigned +Status: Closed Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 5.3CVS-2007-10-19 (snap) Assigned To: dmitry New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2007-10-19 08:30:32] [EMAIL PROTECTED] Dmitry, please have a look. ------------------------------------------------------------------------ [2007-10-19 01:03:32] felipensp at gmail dot com Description: ------------ README.namespaces said "The namespace declaration statement must be the very first statement in the file. The only exception is "declare" statement that can be used before." But, declare statement cause fatal error. Reproduce code: --------------- <?php declare(ticks=1); namespace test; Expected result: ---------------- No error. Actual result: -------------- Fatal error: Namespace declaration statement has to be the very first statement ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43027&edit=1