ID: 34464
Updated by: [EMAIL PROTECTED]
Reported By: michal dot vrchota at seznam dot cz
-Status: Open
+Status: Wont fix
Bug Type: Directory function related
Operating System: -
PHP Version: 5.0.5
New Comment:
This wil be fixed for PHP 6 (and already is).
Previous Comments:
------------------------------------------------------------------------
[2005-09-11 17:13:28] michal dot vrchota at seznam dot cz
Description:
------------
I store "define() dictionary" in .php in native UTF8 encoding
(first 4 bytes represent UTF8 encoding - PHP dont recognize them)
When I use include/include_once/require/require_once
There is a E_WARNING that output already started
I think PHP should be smarter :)
Reproduce code:
---------------
// fr.php is in native utf-8
require_once("fr.php");
Actual result:
--------------
Warning: Cannot modify header information - headers already sent by
(output started at d:\wwwroot\hotel4you\html\admin\lang\fr.php:1) in
d:\wwwroot\hotel4you\html\admin\index.php on line 61
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34464&edit=1