PHP 5.4.7 came out on 13 September 2012. 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 (29 in total).
Core
Fixed bug (segfault while build with zts and GOTO vm-kind). (Laruence) Fixed bug #62844 (parse_url() does not recognize //). (Andrew Faulds). Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set). (Felipe) Fixed bug #62763 (register_shutdown_function and extending class). (Laruence) Fixed bug #62725 (Calling exit() in a shutdown function does not return the exit value). (Laruence) Fixed bug #62744 (dangling pointers made by zend_disable_class). (Laruence) Fixed bug #62716 (munmap() is called with the incorrect length). (slangley@google.com) Fixed bug #62358 (Segfault when using traits a lot). (Laruence) Fixed bug #62328 (implementing __toString and a cast to string fails) (Laruence) Fixed bug #51363 (Fatal error raised by var_export() not caught by error handler). (Lonny Kapelushnik) Fixed bug #40459 (Stat and Dir stream wrapper methods do not call constructor). (Stas)
CURL
Fixed bug #62912 (CURLINFO_PRIMARY_* AND CURLINFO_LOCAL_* not exposed). (Pierrick) Fixed bug #62839 (curl_copy_handle segfault with CURLOPT_FILE). (Pierrick)
Intl
Fixed Spoofchecker not being registered on ICU 49.1. (Gustavo) Fix bug #62933 (ext/intl compilation error on icu 3.4.1). (Gustavo) Fix bug #62915 (defective cloning in several intl classes). (Gustavo)
Installation
Fixed bug #62460 (php binaries installed as binary.dSYM). (Reeze Xia)
PCRE
Fixed bug #55856 (preg_replace should fail on trailing garbage). (reg dot php at alf dot nu)
PDO
Fixed bug #62685 (Wrong return datatype in PDO::inTransaction()). (Laruence)
Reflection
Fixed bug #62892 (ReflectionClass::getTraitAliases crashes on importing trait methods as private). (Felipe) Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result). (Laruence)
Session
Fixed bug (segfault due to retval is not initialized). (Laruence) Fixed bug (segfault due to PS(mod_user_implemented) not be reseted when close handler call exit). (Laruence)
SOAP Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice). (Dmitry)
SPL
Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray) (Laruence) Implemented FR #62840 (Add sort flag to ArrayObject::ksort). (Laruence)
Standard
Fixed bug #62836 (Seg fault or broken object references on unserialize()). (Laruence)
FPM
Merged PR 121 by minitux to add support for slow request counting on PHP FPM status page. (Lars)
← Previous release: PHP 5.4.6 Next release: PHP 5.4.8 →
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