"...imldeployment-client.git" did not exist on "e59e50e7c52f8b44f6672d9ca05276a3c591c48e"
Select Git revision
-
Hahn Axel (hahn) authoredHahn Axel (hahn) authored
detect-php 628 B
# ----------------------------------------------------------------------------
#
# EOL - End of life detection - Warn before reaching end of life
#
# detect version of PHP
#
# ----------------------------------------------------------------------------
# 2020-02-25 v1.0 <axel.hahn@iml.unibe.ch>
# ----------------------------------------------------------------------------
# ----- example output
# php --version
# PHP 7.4.2 (cli) (built: Jan 21 2020 18:16:58) ( NTS )
# Copyright (c) The PHP Group
# Zend Engine v3.4.0, Copyright (c) Zend Technologies
php --version | head -1 | cut -f 2 -d " " | cut -f 1,2 -d "."