【发布时间】:2016-02-25 19:34:06
【问题描述】:
当声明以下命名空间时:
<?php
namespace Example\3000;
我收到了这个错误:
Parse error: syntax error, unexpected '3000' (T_LNUMBER), expecting identifier (T_STRING) in [...]
所以我想知道 PHP 中的命名空间是否可以以数字开头?
【问题讨论】:
标签: php namespaces