ID:               48595
 Updated by:       der...@php.net
 Reported By:      spektom at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Windows
 PHP Version:      5.3.0RC3
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

No, your <html> string is the first statement. It's basically "echo
'<html>';" to PHP.


Previous Comments:
------------------------------------------------------------------------

[2009-06-18 13:38:17] spektom at gmail dot com

Description:
------------
See the reproduce code... Namespace is the first statement in the PHP 
section, but the error is still thrown.

Reproduce code:
---------------
<html>
<?php
namespace ABC;

Expected result:
----------------
Work without errors.

Actual result:
--------------
Fatal error: Namespace declaration statement has to be the very first 
statement in the script in C:\Documents and 
Settings\michael\workspace\runtime-pdt\php5.3\2.php on line 3 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48595&edit=1

Reply via email to