PHP 5.4.21 came out on 17 October 2013. 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 (9 in total).
Core
Fixed bug #65322 (compile time errors won't trigger auto loading). (Nikita)
CLI server
Fixed bug #65633 (built-in server treat some http headers as case-sensitive). (Adam)
Datetime
Fixed bug #64157 (DateTime::createFromFormat() reports confusing error message). (Boro Sitnikovski)
DBA extension
Fixed bug #65708 (dba functions cast $key param to string in-place, bypassing copy on write). (Adam)
Filter
Add RFC 6598 IPs to reserved addresses. (Sebastian Nohn) Fixed bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names). (Syra)
IMAP
Fixed bug #65721 (configure script broken in 5.5.4 and 5.4.20 when enabling imap). (ryotakatsuki at gmail dot com)
Standard
Fixed bug #61548 (content-type must appear at the end of headers for 201 Location to work in http). (Mike)
Build system
Fixed bug #62396 ('make test' crashes starting with 5.3.14 (missing gzencode())). (Mike)
← Previous release: PHP 5.4.20 Next release: PHP 5.4.22 →
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