Home >Backend Development >PHP Tutorial >为何interface中只的属性字段只能用常量呢

为何interface中只的属性字段只能用常量呢

WBOY
WBOYOriginal
2016-06-13 12:09:46856browse

为啥interface中只的属性字段只能用常量呢
为啥不能用$呢,难道用变量就会怎么滴吗
------解决思路----------------------
接口就是现实中的“协议”或“规则”。 你看看手机的USB接口谁能乱改里边的排线,导致不能统一

你别说苹果。。。。。。。。

Statement:
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