Es gibt PHP CompatInfo, dass auch von CMSimple_XH verwendet wird.
Verwendungsbeispiel für lck_overlay_02: phpcompatinfo.phar herunter laden, und im Templateverzeichnis ablegen. Im Templateverzeichnis phpcompatinfo.json mit folgendem Inhalt anlegen:
Code: Select all
{
"source-providers": [
{
"in": ". as current",
"exclude": [
],
"name": "/\\.(php|htm)$/"
}
],
"plugins": [
],
"analysers": [
],
"services": [
]
}
Code: Select all
cd template\lck_overlay_02
php phpcompatinfo-5.1.0.phar analyser:run --alias current
Code: Select all
Data Source Analysed
Directories 1
Files 2
Errors 0
Extensions Analysis
Extension Matches REF EXT min/Max PHP min/Max PHP all
Core Core 4.0.0
standard standard 4.0.0 4.0.0
Total [2] 4.0.0
Namespaces Analysis
Namespace Matches REF EXT min/Max PHP min/Max PHP all
+global Core 4.0.0
Total [1] 4.0.0
No interface found
No trait found
No class found
Functions Analysis
Function Matches REF EXT min/Max PHP min/Max
XH_printUrl 1 user 4.0.0
content 1 user 4.0.0
head 1 user 4.0.0
include_jQuery 1 user 4.0.0
is_readable 2 standard 4.0.0 4.0.0
languagemenu 1 user 4.0.0
lastupdate 1 user 4.0.0
li 1 user 4.0.0
locator 1 user 4.0.0
loginlink 1 user 4.0.0
newsbox 2 user 4.0.0
onload 1 user 4.0.0
sitename 1 user 4.0.0
submenu 1 user 4.0.0
Total [14] 4.0.0
Constants Analysis
Constant Matches REF EXT min/Max PHP min/Max
XH_ADM 1 user 4.0.0
Total [1] 4.0.0
No condition found
Requires PHP 4.0.0 (min), PHP 4.0.0 (all)