目前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.
« TwitterFox 1.1.1釋出,淺談微型網... | 優格網首頁 | 推薦閱讀:親友參加疑似邪教的... »