summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-08-07 08:34:40 +0000
committerMarcus Boerger <helly@php.net>2006-08-07 08:34:40 +0000
commitfdf1ee39e4a26514de001289504c5b72bc84b4d8 (patch)
treea9ab05e44ba1ca4a0aaf48bcfd0124e587423468
parente038500be3b5c54e790ff0d1d3d6d87dcf7daeb8 (diff)
downloadphp-git-fdf1ee39e4a26514de001289504c5b72bc84b4d8.tar.gz
- Update
-rw-r--r--README.UPDATE_5_211
1 files changed, 10 insertions, 1 deletions
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.