,可以用于获取PHP版本信息的是?

用户投稿 81 0

关于“get_php_version”的问题,小编就整理了【3】个相关介绍“get_php_version”的解答:

可以用于获取PHP版本信息的是?

PHP_VERSION // 定义指示 PHP4 或 PHP5 的常量 if (substr(PHP_VERSION, 0, 1) == '5') { define('PHP5', true); define('PHP4', false); } else { define('PHP5', false); define('PHP4', true); }

Version什么意思?

version的意思是版本、译本和说法,作为名词使用,具体分析如下:version英 [ˈvɜ:ʃn] 美 [ˈvɜ:rʒn] n.版本;译文,译本;说法;倒转术相关短语:

1、the written version 成文本3、the stage version 戏剧(剧本)扩展资料相关例句:1、The book was translated into many versions and sold all over the world.

2、This shirt is a cheaper version of the one I saw in that shop.这件衬衫同我在那家商店里见到的几乎一样,但它是便宜货。各执一词。4、The song have a syncopate rhythm in the Jazz version. 这首歌曲改编为爵士乐后采用了切分音节奏。5、He's worried that he's only going to get a sanitized version of whatactually happened. 他担心事情传到自己耳朵时,已经是净化过的版本。6、He looked like a miniature version of his handsome and elegant big brother. 他看上去就像是他那个英俊儒雅的哥哥的迷你版。

GetVersion是什么?

GetVersion  VB声明

  Declare Function GetVersion Lib "kernel32" Alias "GetVersion" () As Long

  说明

  判断当前运行的Windows和DOS版本

  返回值

  Long,低16位包含了windows版本;低字节包含了主版本号(3代表windows 3.10,4代表nt 4.0);高字节包含了两个数位的辅助版本号(10代表windows 3.10,95代表windows 95)。高16位则包含了平台信息。针对windows NT,高位设为0;针对windows for workgroups上运行的Win32s,则高位为1

  注解

  在win32下,最好换用GetVersionEx函数。在win32下,高字不会返回DOS版本

到此,以上就是小编对于“get_php_version”的问题就介绍到这了,希望介绍关于“get_php_version”的【3】点解答对大家有用。

抱歉,评论功能暂时关闭!