当前位置:网站首页>How to get the PHP version- How to get the PHP Version?
How to get the PHP version- How to get the PHP Version?
2022-07-06 01:13:00 【javail】
problem :
Is there a way to check the version of PHP that executed a particular script from within that script? Is there any way to check the execution of a specific script from this script PHP edition ?So for example, the following snippet for example , The following code snippet
$version = way_to_get_version();print $version;
would print 5.3.0 on one machine, and 5.3.1 on another machine. Will print on one machine 5.3.0, Print on another machine 5.3.1.
Solution :
Reference resources : https://stackoom.com/en/question/8rw3边栏推荐
- 3D模型格式汇总
- [day 30] given an integer n, find the sum of its factors
- Fibonacci number
- Intensive learning weekly, issue 52: depth cuprl, distspectrl & double deep q-network
- esxi的安装和使用
- 视频直播源码,实现本地存储搜索历史记录
- Daily practice - February 13, 2022
- Finding the nearest common ancestor of binary search tree by recursion
- Zhuhai laboratory ventilation system construction and installation instructions
- The inconsistency between the versions of dynamic library and static library will lead to bugs
猜你喜欢
Cf:d. insert a progression [about the insert in the array + the nature of absolute value + greedy top-down]
Starting from 1.5, build a micro Service Framework - call chain tracking traceid
激动人心,2022开放原子全球开源峰会报名火热开启
Four commonly used techniques for anti aliasing
282. Stone consolidation (interval DP)
[groovy] compile time meta programming (compile time method interception | method interception in myasttransformation visit method)
关于#数据库#的问题:(5)查询库存表中每本书的条码、位置和借阅的读者编号
How to see the K-line chart of gold price trend?
Unity | 实现面部驱动的两种方式
servlet(1)
随机推荐
The basic usage of JMeter BeanShell. The following syntax can only be used in BeanShell
MobileNet系列(5):使用pytorch搭建MobileNetV3并基于迁移学习训练
C language programming (Chapter 6 functions)
ORA-00030
Exciting, 2022 open atom global open source summit registration is hot
Paging of a scratch (page turning processing)
[groovy] compile time metaprogramming (compile time method injection | method injection using buildfromspec, buildfromstring, buildfromcode)
vSphere实现虚拟机迁移
普通人下场全球贸易,新一轮结构性机会浮出水面
Dedecms plug-in free SEO plug-in summary
Kotlin core programming - algebraic data types and pattern matching (3)
Nmap: network detection tool and security / port scanner
curlpost-php
Lone brave man
Recommended areas - ways to explore users' future interests
VMware Tools安装报错:无法自动安装VSock驱动程序
黄金价格走势k线图如何看?
Building core knowledge points
cf:D. Insert a Progression【关于数组中的插入 + 绝对值的性质 + 贪心一头一尾最值】
Zhuhai's waste gas treatment scheme was exposed