From: Marcus Boerger Date: Mon, 7 Aug 2006 08:34:40 +0000 (+0000) Subject: - Update X-Git-Tag: php-5.2.0RC2~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fdf1ee39e4a26514de001289504c5b72bc84b4d8;p=php - Update --- diff --git a/README.UPDATE_5_2 b/README.UPDATE_5_2 index 06c569ca6c..574079832a 100644 --- a/README.UPDATE_5_2 +++ b/README.UPDATE_5_2 @@ -28,10 +28,14 @@ PHP 5.2 Update info or NEWS explained The magic object method __toString() is now called whenever an object is used as a string. The function must not throw an exception or the script will be - terminated. The PHP 5.0/%51 fallback to return a string containing the object + terminated. The PHP 5.0/5.1 fallback to return a string containing the object idetifier has been dropped. Note that the object identifier is never unique. That measn that if you have used this feature your application has been flawed. Nonetheless it will now be a catchable fatal error (see above). + + Even with __toString objects cannot be used as keys to arrays. We might add + built-in hash support for this. But for 5.2 you would need to either provide + your own hashing or use new function spl_object_hash() - Added RFC2397 (data: stream) support. (Marcus) @@ -49,3 +53,8 @@ PHP 5.2 Update info or NEWS explained PHP-5.2 it is now possible to allow standard file operations while dissalowing inclusion of remote files, which will also be the default configuration. + +- Dropped abstract static class functions. (Marcus) + + Due to an oversight PHP 5.0, 5.1 allowed abstract static functions. In PHP + 5.2 only interfaces can have abstract static functions.