Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Namespace declaration statement has to be the very first statement or after any declare call in the script in file D:Xampphtdocsprojectsmulti_vender_siteappModelsUser.php on line 5

// Fatal error: Namespace declaration statement has to be --
// the very first statement in the script in

// Make sure there is no whitespace before your php tag
// whitespace
<?php
    namespace HelloWorld
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Namespace #declaration #statement #statement #declare #call #script #file #line
ADD COMMENT
Topic
Name
6+3 =