PHP CodeIgniter框架中的命名空间 [英] Namespace in PHP CodeIgniter Framework
本文介绍了PHP CodeIgniter框架中的命名空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
CodeIgniter支持命名空间?
Does CodeIgniter support Namespace?
推荐答案
命名空间是由php支持的,而不是框架(codeigniter)。如果你使用命名空间php版本必须> = 5.3.0
Codeigniter dosen使用命名空间,因为它是写支持php 4。
Namespace are supported by php and not by the framework (codeigniter in your case). If you use namespaces php version must be >= 5.3.0 Codeigniter dosen`t use namespaces because it is written to support php 4.
这篇关于PHP CodeIgniter框架中的命名空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文