Home > Backend Development > PHP Tutorial > php5.3用的namespace后的疑点

php5.3用的namespace后的疑点

WBOY
Release: 2016-06-13 12:01:17
Original
827 people have browsed it

php5.3用的namespace后的疑问
就是用了命名空间后,是不是还要include 等导入文件啊?
------解决方案--------------------
http://www.php.net/manual/zh/language.namespaces.importing.php
------解决方案--------------------
是的,要调用一个类必须要导入对应的文件

Related labels:
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template