Home >Backend Development >PHP Tutorial >PHP urgently releases version 5.2.8, serious bug appears in magic function_PHP Tutorial
[php100 exclusive feature] PHP officials urgently released version 5.2.8 of PHP yesterday (December 8), and version 5.2.7 on the official website was released less than a week ago. What is the reason for PHP to release two updated versions in one week?
According to the instructions on the PHP official website, a serious bug in the magic_quotes_gpc() function was discovered in version 5.2.7 released last week, so version 5.2.8 was released urgently and users are strongly recommended to upgrade.
PHP’s magic_quotes_gpc() is used to obtain the value of the variable magic_quotes_gpc (GPC, Get/Post/Cookie) set in the PHP environment. It is one of the magic reference functions established to facilitate the reference of data. If magic_quotes_gpc ( ) is set to ON in the php.ini configuration file. When the data we quote encounters single quotes ', double quotes " and backslashes, backslashes will be automatically added to help us automatically translate symbols and ensure the correct operation of data operations. .
PHP 5.2.7 was released on December 4, 2008 after 5 RC versions, a full 7 months after the 5.2.6 version on May 1, 2008. This version has been revised. With more than 140 bugs and security vulnerabilities, PHP officials have recommended all PHP users to upgrade to this version in the change log of 5.2.7
Download PHP 5.2.8