Home >Backend Development >PHP Tutorial >这里怎么理解呢

这里怎么理解呢

WBOY
WBOYOriginal
2016-06-13 12:10:36897browse

这里如何理解呢
这是discuz中的一段代码,为了是判断php的版本号,我不理解的是,即然版本号都定为一个5.4.0RC6字符串了,哪来的比较呢,就好比,adafasdf这个字段串和wdsfa这个字符串比大小,这不是不伦不类吗,这里面的道理何在?


------解决思路----------------------
指重新定义

define('PHP_VERSION', '6');<br />
Notice: Constant PHP_VERSION already defined in ....

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