Collablog is joining in the gophp5.org. When February 5th, 2008 comes, many PHP projects will not release any new versions that compatible with PHP 4, projects whom join gophp5.org will offer new version compatible with PHP 5.2.x.
gpphp5.org made this to help push ISPs into supporting php5, to push for PHP 5 adoption worldwide.
Starting February 5, 2008, Collablog will accept PHP 5.2.x or higher features into new scripts.
Actually, before the date, Collablog is written in PHP 5 now, will add more PHP 5.2.x feature in future.
參加gophp5.org的活動,目的是希望鼓勵應用PHP5平台,原因是PHP4未來已經不會再更新了,PHP官方決定於2007年12月31日正式終止對PHP4的更新與支援,另一方面PHP 5有更好的功能,值得網站平台、程式專案採用。
目前gophp5.org希望參加的PHP專案和主機商網站,均能在2008年2月5日以後,只提供支援PHP 5.2.X以上的版本或平台,捨棄對PHP4的支援,但對於舊版本的程式,並沒有強制要屏除支援,所以很多專案都強調新版本只會支援PHP 5.2,早期產品仍舊不變。
事實上,dong現在做的程式都已經依據PHP5的功能而開發,已經不用PHP4了。
▲Collablog與本站連結列在加入gophp5.org的專案列表裡。
未來PHP官方還會推出測試中的PHP6,建議還是儘快地轉移到PHP5平台,及早因應PHP4停止更新、支援的變局。
有興趣的話,可以參考2004年,PHP5剛出來時,由Adam Trachtenberg,寫的這篇Why PHP 5 Rocks!。
現階段PHP最新的版本為PHP 5.2.3,下載連結為此,而6月釋出時更新的內容如下:
Security Enhancements and Fixes in PHP 5.2.3:
* Fixed an integer overflow inside chunk_split() (by Gerhard Wagner, CVE-2007-2872)
* Fixed possible infinite loop in imagecreatefrompng. (by Xavier Roche, CVE-2007-2756)
* Fixed ext/filter Email Validation Vulnerability (MOPB-45 by Stefan Esser, CVE-2007-1900)
* Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()) (by bugs dot php dot net at chsc dot dk)
* Improved fix for CVE-2007-1887 to work with non-bundled sqlite2 lib.
* Added mysql_set_charset() to allow runtime altering of connection encoding.
The key improvements of PHP 5.2.3 include:
* Improved compilation of heredocs and interpolated strings.
* Optimized out a couple of per-request syscalls.
* Optimized digest generation in md5() and sha1() functions.
* Fixed bug #41236 (Regression in timeout handling of non-blocking SSL connections during reads and writes)
* Fixed bug #39542 (Behavior of require/include different to < 5.2.0)
* Fixed bug #41293 (Fixed creation of HTTP_RAW_POST_DATA when there is no default post handler)
* Fixed bug #41347 (checkdnsrr() segfaults on empty hostname)
* Fixed bug #41353 (crash in openssl_pkcs12_read() on invalid input)
* Fixed bug #41403 (json_decode cannot decode floats if localeconv decimal_point is not '.')
* Fixed bug #41421 (Uncaught exception from a stream wrapper segfaults)
* Fixed bug #41504 (json_decode() incorrectly decodes JSON arrays with empty string keys).
* Over 40 bug fixes.