php namespace error

WBOY
Release: 2016-09-21 14:13:13
Original
1601 people have browsed it

Parse error: syntax error, unexpected T_STRING in F:appwampserverAppServwwwnamespace.php on line 3

  
Copy after login
Copy after login

Reply content:

Parse error: syntax error, unexpected T_STRING in F:appwampserverAppServwwwnamespace.php on line 3

  
Copy after login
Copy after login

The const keyword can only be used to define constants within a class. Please use define outside the class. (Before PHP 5.3)

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!