note 117849 added to language.namespaces.rationale
| From: | sonkengmaldini at gmail dot com | Date: | Wed, 19 Aug 2015 20:43:57 +0000 |
| Subject: | note 117849 added to language.namespaces.rationale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203391@lists.php.net to get a copy of this message | ||
Be aware that using character set UTF-8 with namespace will output a fatal error telling you that
'Namespace declaration statement has to be the very first statement in the script '
instead of that character use the UTF-8 (sans BOM) !
this will display the previous message
<?php
namespace myNameSpace;//fatal error! with UTF-8 character set
?>
----
Server IP: 72.52.91.14
Probable Submitter: 41.202.219.72
----
Manual Page -- http://php.net/manual/en/language.namespaces.rationale.php
Edit -- https://master.php.net/note/edit/117849
Del: integrated -- https://master.php.net/note/delete/117849/integrated
Del: useless -- https://master.php.net/note/delete/117849/useless
Del: bad code -- https://master.php.net/note/delete/117849/bad+code
Del: spam -- https://master.php.net/note/delete/117849/spam
Del: non-english -- https://master.php.net/note/delete/117849/non-english
Del: in docs -- https://master.php.net/note/delete/117849/in+docs
Del: other reasons-- https://master.php.net/note/delete/117849
Reject -- https://master.php.net/note/reject/117849
Search -- https://master.php.net/manage/user-notes.php