@@ -66,6 +66,7 @@ PHP80_BASE="$( get_modules "8.0" "base" )"
66
66
PHP81_BASE=" $( get_modules " 8.1" " base" ) "
67
67
PHP82_BASE=" $( get_modules " 8.2" " base" ) "
68
68
PHP83_BASE=" $( get_modules " 8.3" " base" ) "
69
+ PHP84_BASE=" $( get_modules " 8.4" " base" ) "
69
70
70
71
PHP56_MODS=" $( get_modules " 5.6" " mods" ) "
71
72
PHP70_MODS=" $( get_modules " 7.0" " mods" ) "
@@ -77,12 +78,13 @@ PHP80_MODS="$( get_modules "8.0" "mods" )"
77
78
PHP81_MODS=" $( get_modules " 8.1" " mods" ) "
78
79
PHP82_MODS=" $( get_modules " 8.2" " mods" ) "
79
80
PHP83_MODS=" $( get_modules " 8.3" " mods" ) "
81
+ PHP84_MODS=" $( get_modules " 8.4" " mods" ) "
80
82
81
83
82
84
# ##
83
85
# ## Todo: add ioncube
84
86
# ##
85
- MODS=" $( echo " ${PHP56_MODS} , ${PHP70_MODS} , ${PHP71_MODS} , ${PHP72_MODS} , ${PHP73_MODS} , ${PHP74_MODS} , ${PHP80_MODS} , ${PHP81_MODS} , ${PHP82_MODS} , ${PHP83_MODS} " | sed ' s/,/\n/g' | sed_command -e ' s/^\s*//g' -e ' s/\s*$//g' | sort -uf ) "
87
+ MODS=" $( echo " ${PHP56_MODS} , ${PHP70_MODS} , ${PHP71_MODS} , ${PHP72_MODS} , ${PHP73_MODS} , ${PHP74_MODS} , ${PHP80_MODS} , ${PHP81_MODS} , ${PHP82_MODS} , ${PHP83_MODS} , ${PHP84_MODS} " | sed ' s/,/\n/g' | sed_command -e ' s/^\s*//g' -e ' s/\s*$//g' | sort -uf ) "
86
88
87
89
88
90
# ##
@@ -95,7 +97,7 @@ E="🗸" # Enabled mods modules (can be disabled)
95
97
D=" d" # Disabled modules (can be enabled)
96
98
U=" " # Unavailable
97
99
98
- echo " | Modules | <sup>PHP 5.6</sup> | <sup>PHP 7.0</sup> | <sup>PHP 7.1</sup> | <sup>PHP 7.2</sup> | <sup>PHP 7.3</sup> | <sup>PHP 7.4</sup> | <sup>PHP 8.0</sup> | <sup>PHP 8.1</sup> | <sup>PHP 8.2</sup> | <sup>PHP 8.3</sup> |"
100
+ echo " | Modules | <sup>PHP 5.6</sup> | <sup>PHP 7.0</sup> | <sup>PHP 7.1</sup> | <sup>PHP 7.2</sup> | <sup>PHP 7.3</sup> | <sup>PHP 7.4</sup> | <sup>PHP 8.0</sup> | <sup>PHP 8.1</sup> | <sup>PHP 8.2</sup> | <sup>PHP 8.3</sup> | <sup>PHP 8.4</sup> | "
99
101
echo " |-------------------------------|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|"
100
102
echo " ${MODS} " | while read -r line; do
101
103
# Ignore modules
@@ -256,5 +258,20 @@ echo "${MODS}" | while read -r line; do
256
258
printf " %s |" " ${U} " # Not available
257
259
fi
258
260
261
+ # ---------- PHP 8.4 ----------#
262
+ if echo " ,${PHP84_MODS} ," | sed_command ' s/,\s/,/g' | grep -Eq " ,${line} ," ; then
263
+ if echo " ${DISABLED} " | grep -Eq " ,${line} ," ; then
264
+ printf " %s |" " ${D} " # Currently disabled
265
+ else
266
+ if echo " ,${PHP84_BASE} ," | sed_command ' s/,\s/,/g' | grep -Eq " ,${line} ," ; then
267
+ printf " %s |" " ${B} " # Enabled, but cannot be disabled
268
+ else
269
+ printf " %s |" " ${E} " # Enabled, can be disabled
270
+ fi
271
+ fi
272
+ else
273
+ printf " %s |" " ${U} " # Not available
274
+ fi
275
+
259
276
printf " \\ n"
260
277
done
0 commit comments