October 24, 2020

PHP 8 RC2 released: bugs fix

2 min read
PHP is a general-purpose open-source scripting language. The grammar absorbs the characteristics of C language, Java, and Perl is conducive to learning and is widely used, mainly for the field of Web development. PHP’s unique syntax mixes C, Java, Perl, and PHP’s native syntax. It can execute dynamic web pages faster than CGI or Perl. Dynamic pages made with PHP compared to other programming languages, PHP embeds programs into HTML (an application under the standard universal markup language) document, which is much more efficient than CGI that entirely generates HTML markup. PHP can also execute compiled code, compile to achieve encryption and optimize code execution, making the code run faster.

PHP 7.3

Changelog v8.0 RC2

– Core:
. Fixed bug #80225 (broken namespace usage in eval code). (Nikita)

– Curl:
. Fixed bug #80121 (Null pointer deref if CurlHandle directly instantiated).

. Fixed bug #80213 (imap_mail_compose() segfaults on certain $bodies). (cmb)
. Fixed bug #80215 (imap_mail_compose() may modify by-val parameters). (cmb)
. Fixed bug #80220 (imap_mail_compose() may leak memory). (cmb)
. Fixed bug #80223 (imap_mail_compose() leaks envelope on malformed bodies).
. Fixed bug #80216 (imap_mail_compose() does not validate types/encodings).
. Fixed bug #80226 (imap_sort() leaks sortpgm memory). (cmb)
. Fixed bug #64076 (imap_sort() does not return FALSE on failure). (cmb)

– Opcache:
. Fixed bug #80184 (Complex expression in while / if statements resolves to
false incorrectly). (Nikita)
. Fixed bug #80175 (PHP8 RC1 – JIT Buffer not working). (cmb)

– Reflection:
. Fixed bug #80190 (ReflectionMethod::getReturnType() does not handle static
as part of union type). (Nikita)

– SPL:
. Fixed bug #65387 (Circular references in SPL iterators are not garbage
collected). (Nikita)

– Standard:
. Fixed bug #64060 (lstat_stat_variation7.phpt fails on certain file systems).
(M. Voelker, cmb)

– XMLWriter:
. Removed return types from XMLWriter stubs. (cmb)