PHP 8.0.2 came out on 4 February 2021. Below is the full list of changes it made, grouped by the part of PHP that each one affects.
The changes are listed in English, exactly as the PHP developers wrote them (22 in total).
Core
Fixed bug #80523 (bogus parse error on >4GB source code). (Nikita) Fixed bug #80384 (filter buffers entire read until file closed). (Adam Seitz, cmb) Fixed bug #80596 (Invalid union type TypeError in anonymous classes). (Daniil Gentili) Fixed bug #80617 (GCC throws warning about type narrowing in ZEND_TYPE_INIT_CODE). (Nikita)
BCMath
Fixed bug #80545 (bcadd('a', 'a') doesn't throw an exception). (Jens de Nies)
Curl
Fixed bug #80595 (Resetting POSTFIELDS to empty array breaks request). (cmb)
Date
Fixed bug #80376 (last day of the month causes runway cpu usage). (Derick)
DOM
Fixed bug #80537 (Wrong parameter type in DOMElement::removeAttributeNode stub). (Nikita)
Filter
Fixed bug #80584 (0x and 0X are considered valid hex numbers by filter_var()). (girgias)
GMP
Fixed bug #80560 (Strings containing only a base prefix return 0 object). (girgias)
Intl
Fixed bug #80644 (Missing resource causes subsequent get() calls to fail). (Nikita)
MySQLi
Fixed bug #67983 (mysqlnd with MYSQLI_OPT_INT_AND_FLOAT_NATIVE fails to interpret bit columns). (Nikita) Fixed bug #64638 (Fetching resultsets from stored procedure with cursor fails). (Nikita) Fixed bug #72862 (segfault using prepared statements on stored procedures that use a cursor). (Nikita) Fixed bug #77935 (Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP with a cursor). (Nikita)
ODBC
Fixed bug #80592 (all floats are the same in ODBC parameters). (cmb)
Opcache
Fixed bug #80422 (php_opcache.dll crashes when using Apache 2.4 with JIT). (Dmitry)
PDO_Firebird
Fixed bug #80521 (Parameters with underscores no longer recognized). (cmb, Simonov Denis)
Phar
Fixed bug #76929 (zip-based phar does not respect phar.require_hash). (david at bamsoftware, cmb) Fixed bug #77565 (Incorrect locator detection in ZIP-based phars). (cmb) Fixed bug #69279 (Compressed ZIP Phar extractTo() creates garbage files). (cmb)
Phpdbg
Reverted fix for bug #76813 (Access violation near NULL on source operand). (cmb)
← Previous release: PHP 8.0.1 Next release: PHP 8.0.3 →
This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026