当前位置:网站首页>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边栏推荐
- Vulhub vulnerability recurrence 74_ Wordpress
- MobileNet系列(5):使用pytorch搭建MobileNetV3并基于迁移学习训练
- Questions about database: (5) query the barcode, location and reader number of each book in the inventory table
- 程序员搞开源,读什么书最合适?
- VSphere implements virtual machine migration
- Daily practice - February 13, 2022
- Recoverable fuse characteristic test
- MCU realizes OTA online upgrade process through UART
- 95后CV工程师晒出工资单,狠补了这个,真香...
- Is chaozhaojin safe? Will it lose its principal
猜你喜欢
Condition and AQS principle
Installation and use of esxi
Blue Bridge Cup embedded stm32g431 - the real topic and code of the eighth provincial competition
VMware Tools安装报错:无法自动安装VSock驱动程序
BiShe - College Student Association Management System Based on SSM
What is the most suitable book for programmers to engage in open source?
servlet(1)
Finding the nearest common ancestor of binary search tree by recursion
ORA-00030
Four dimensional matrix, flip (including mirror image), rotation, world coordinates and local coordinates
随机推荐
Gartner released the prediction of eight major network security trends from 2022 to 2023. Zero trust is the starting point and regulations cover a wider range
[groovy] compile time meta programming (compile time method interception | method interception in myasttransformation visit method)
China Taiwan strategy - Chapter 8: digital marketing assisted by China Taiwan
The inconsistency between the versions of dynamic library and static library will lead to bugs
After Luke zettlemoyer, head of meta AI Seattle research | trillion parameters, will the large model continue to grow?
SCM Chinese data distribution
DOM introduction
Starting from 1.5, build a micro Service Framework - call chain tracking traceid
Zhuhai laboratory ventilation system construction and installation instructions
Cannot resolve symbol error
JMeter BeanShell的基本用法 一下语法只能在beanshell中使用
WGet: command line download tool
Vulhub vulnerability recurrence 74_ Wordpress
Blue Bridge Cup embedded stm32g431 - the real topic and code of the eighth provincial competition
Five challenges of ads-npu chip architecture design
How to see the K-line chart of gold price trend?
VMware Tools installation error: unable to automatically install vsock driver
Questions about database: (5) query the barcode, location and reader number of each book in the inventory table
cf:C. The Third Problem【关于排列这件事】
About error 2003 (HY000): can't connect to MySQL server on 'localhost' (10061)