helly           Mon Aug  7 08:34:41 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    README.UPDATE_5_2 
  Log:
  - Update
  
http://cvs.php.net/viewvc.cgi/php-src/README.UPDATE_5_2?r1=1.1.2.7&r2=1.1.2.8&diff_format=u
Index: php-src/README.UPDATE_5_2
diff -u php-src/README.UPDATE_5_2:1.1.2.7 php-src/README.UPDATE_5_2:1.1.2.8
--- php-src/README.UPDATE_5_2:1.1.2.7   Mon Jul 24 12:15:28 2006
+++ php-src/README.UPDATE_5_2   Mon Aug  7 08:34:40 2006
@@ -28,10 +28,14 @@
 
   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 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.

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to