mirror of
https://github.com/php/php-src.git
synced 2024-12-24 09:18:17 +08:00
2de79f0855
That parameter is mostly useless in practise, and likely has been directly ported from the underlying `gdImagePolygon()` and friends, which require that parameter since the number of elements of the point array would otherwise be unknown. Typical usages of `imagepolygon()`, `imageopenpolygon()` and `imagefilledpolygon()` pass `count($points)/2` or hard-code this value as literal. Since explicitly specifying this parameter is annoying and error-prone, we offer the possibility to omit it, in which case the `$points` array must have an even number of elements, and the number of points is calculated as `count($points)/2`.
103 lines
3.2 KiB
Plaintext
103 lines
3.2 KiB
Plaintext
PHP NEWS
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
?? ??? ????, PHP 8.0.0alpha1
|
|
|
|
- Core:
|
|
. Removed the pdo_odbc.db2_instance_name php.ini directive. (Kalle)
|
|
. Fixed bug #77619 (Wrong reflection on MultipleIterator::__construct).
|
|
(Fabien Villepinte)
|
|
|
|
- Date:
|
|
. Fixed bug #65547 (Default value for sunrise/sunset zenith still wrong).
|
|
(cmb)
|
|
. Fixed bug #69044 (discrepency between time and microtime). (krakjoe)
|
|
|
|
- DOM:
|
|
. Add property DOMXPath::$registerNodeNamespaces and constructor argument
|
|
that allow global flag to configure query() or evaluate() calls.
|
|
|
|
- GD:
|
|
. Fixed bug #55005 (imagepolygon num_points requirement). (cmb)
|
|
. Replaced gd resources with objects. (Mark Randall)
|
|
. Made the $num_points parameter of php_imagepolygon optional. (cmb)
|
|
. Removed deprecated image2wbmp(). (cmb)
|
|
. Removed deprecated png2wbmp() and jpeg2wbmp(). (cmb)
|
|
|
|
- Intl:
|
|
. Removed deprecated INTL_IDNA_VARIANT_2003. (cmb)
|
|
|
|
- JIT:
|
|
. Fixed bug #77857 (Wrong result if executed with JIT). (Laruence)
|
|
|
|
- LDAP:
|
|
. Removed deprecated ldap_sort. (mcmic)
|
|
|
|
- MBString:
|
|
. Removed the unused $is_hex parameter from mb_decode_numericentity(). (cmb)
|
|
|
|
- MySQLi:
|
|
. Fixed bug #76809 (SSL settings aren't respected when persistent connections
|
|
are used). (fabiomsouto)
|
|
|
|
- mysqlnd:
|
|
. Fixed #60594 (mysqlnd exposes 160 lines of stats in phpinfo). (PeeHaa)
|
|
|
|
- OpCache:
|
|
. Fixed bug #78654 (Incorrectly computed opcache checksum on files with
|
|
non-ascii characters). (mhagstrand)
|
|
|
|
- PCRE:
|
|
. Don't ignore invalid escape sequences. (sjon)
|
|
|
|
- PDO:
|
|
. Fixed bug #77849 (Disable cloning of PDO handle/connection objects).
|
|
(camporter)
|
|
|
|
- PDO_OCI:
|
|
. Added support for setting and getting the oracle OCI 18c call timeout.
|
|
(camporter)
|
|
|
|
- phpdbg:
|
|
. Fixed bug #76596 (phpdbg support for display_errors=stderr). (kabel)
|
|
. Fixed bug #76801 (too many open files). (alekitto)
|
|
. Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints).
|
|
(krakjoe)
|
|
. Fixed bug #77805 (phpdbg build fails when readline is shared). (krakjoe)
|
|
|
|
- Reflection:
|
|
. Fixed bug #78697 (ReflectionClass::implementsInterface - inaccurate error
|
|
message with traits). (villfa)
|
|
|
|
- Session:
|
|
. Fixed bug #78624 (session_gc return value for user defined session
|
|
handlers). (bshaffer)
|
|
|
|
- SimpleXML:
|
|
. Fixed bug #75245 (Don't set content of elements with only whitespaces).
|
|
(eriklundin)
|
|
|
|
- sodium:
|
|
. Fixed bug #77646 (sign_detached() strings not terminated). (Frank)
|
|
|
|
- Standard:
|
|
. Fixed bug #77204 (getimagesize(): Read error! should mention file path).
|
|
(peter279k)
|
|
. Fixed bug #76859 (stream_get_line skips data if used with data-generating
|
|
filter). (kkopachev)
|
|
|
|
- tidy:
|
|
. Removed the unused $use_include_path parameter from tidy_repair_string().
|
|
(cmb)
|
|
|
|
- XML:
|
|
. Fixed bug #76874 (xml_parser_free() should never leak memory). (Nikita)
|
|
|
|
- XMLWriter:
|
|
. Changed functions to accept/return XMKWriter objects instead of resources.
|
|
(cmb)
|
|
|
|
- Zip:
|
|
. Fixed bug #72374 (remove_path strips first char of filename). (tyage)
|
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|