If loading the PHP8 apache module on SuSe Linux, the configuration scripts incorrectly try to load it with automatically generated load statement of:
LoadModule php8_module /usr/lib64/apache2/mod_php8.so
This does not work, the patch below fixes the conf file generator...
--- /usr/share/apache2/get_module_list 2023-01-14 22:41:49.586825349 -0500
+++ /usr/share/apache2/get_module_list 2023-01-14 22:42:02.171600410 -0500
@@ -91,4 +91,8 @@
esac
+ if [ "$module_id" = "php8_module" ]; then
+ module_id="php_module"
+ fi
+
if [[ -f $module_path ]]; then
printf "LoadModule %-30s %s\n" $module_id $module_path >&3Други промени
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
Други промени
Референца за `migration80.other-changes.php` со подобрена типографија и навигација.
Други промени
Промени во SAPI модули
Apache2Handler
The PHP module has been renamed from php7_module to
php_module.
Променети функции
Рефлексија
ReflectionClass::getConstants() and
Име на константа на класа. results can be now filtered via a new parameter filter. Three new constants were added to be used with it:
Стандардно
The math functions abs(), ceil(),
floor() and round() now properly heed
the strict_types directive. Previously, they coerced the first argument even in strict type mode.
candido1212 на yahoo точка com точка br
-
На 8.0.0, PECL zip 1.18.1 and Додај ги сите php скрипти и текстуални датотеки од тековната работна директорија methods accept more values in the
optionsarray argument:flagscomp_methodcomp_flagsenv_methodenc_password
-
ZipArchive::addEmptyDir(), (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL zip >= 1.9.0) and ZipArchive::addFromString() methods have a new
flagsargument. This allows managing name encoding (ZipArchive::FL_ENC_*) and entry replacement (ZipArchive::FL_OVERWRITE). -
ZipArchive::extractTo() now restores the file modification time.
Други промени во екстензиите
CURL
-
The CURL extension now requires at least libcurl 7.29.0.
-
The deprecated parameter
versionof curl_version() е отстрането.
Датум и време
DatePeriod сега имплементира IteratorAggregate (наместо Траверзабилно).
DOM
DOMNamedNodeMap and DOMNodeList now implement IteratorAggregate (наместо Траверзабилно).
Меѓународен
IntlBreakIterator and ResourceBundle now implement IteratorAggregate (наместо Траверзабилно).
Омажи
The enchant extension now uses libenchant-2 by default when available. libenchant version 1 is still supported but is deprecated and could be removed in the future.
GD
-
На
num_pointsпараметарот imagepolygon(), imageopenpolygon() and imagefilledpolygon() is now optional, i.e. these functions may be called with either 3 or 4 arguments. If the argument is omitted, it is calculated ascount($points)/2. -
Функцијата imagegetinterpolation() to get the current interpolation method has been added.
JSON
The JSON extension cannot be disabled anymore and is always an integral part of any PHP build, similar to the date extension.
MBString
The Unicode data tables have been updated to version 13.0.0.
PDO
PDOStatement сега имплементира IteratorAggregate (наместо Траверзабилно).
LibXML
The minimum required libxml version is now 2.9.0. This means that external entity loading is now guaranteed to be disabled by default, and no extra steps need to be taken to protect against XXE attacks.
MySQLi / PDO MySQL
-
When mysqlnd is not used (which is the default and recommended option), the minimum supported libmysqlclient version is now 5.5.
-
mysqli_result сега имплементира IteratorAggregate (наместо Траверзабилно).
за да се спречи вчитувањето на надворешни ентитети.
The PGSQL and PDO PGSQL extensions now require at least libpq 9.1.
script.bat -h
Повикување readline_completion_function() before the interactive prompt starts (e.g. in auto_prepend_file) will now override the default interactive prompt completion function. Previously, readline_completion_function() only worked when called after starting the interactive prompt.
SimpleXML
SimpleXMLElement сега имплементира RecursiveIterator and absorbed the functionality of SimpleXMLIterator. SimpleXMLIterator is an empty extension of SimpleXMLElement.
Промени во ракувањето со INI датотеки
-
com.dotnet_version is a new INI directive to choose the version of the .NET framework to use for dotnet objects.
-
zend.exception_string_param_max_len is a new INI directive to set the maximum string length in an argument of a stringified stack strace.
EBCDIC
EBCDIC targets are no longer supported, though it's unlikely that they were still working in the first place.
Оваа функција е достапна кога PHP е поврзан со библиотеки на Oracle Database од верзија 10
-
A Just-In-Time (JIT) compiler has been added to the opcache extension.
-
array_slice() on an array without gaps will no longer scan the whole array to find the start offset. This may significantly reduce the runtime of the function with large offsets and small lengths.
-
strtolower() now uses a SIMD implementation when using the
"C"LC_CTYPElocale (which is the default).