felipe                                   Sat, 06 Aug 2011 15:57:36 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=314381

Log:
- Added change to UPGRADING

Changed paths:
    U   php/php-src/branches/PHP_5_4/UPGRADING

Modified: php/php-src/branches/PHP_5_4/UPGRADING
===================================================================
--- php/php-src/branches/PHP_5_4/UPGRADING      2011-08-06 15:52:41 UTC (rev 
314380)
+++ php/php-src/branches/PHP_5_4/UPGRADING      2011-08-06 15:57:36 UTC (rev 
314381)
@@ -101,7 +101,21 @@
   To create a generic object you can use StdClass:
   $test = new StdClass;
   $text->baz = 1;
+
+- It's now possible to enforce the class' __construct arguments in an abstract
+  constructor in the base class.

+  abstract class Base
+  {
+    abstract public function __construct();
+  }
+  class Foo extends Base
+  {
+    public function __construct($bar) {}
+  }
+
+  Now emits a Fatal error due the incompatible declaration.
+
 =====================================
 4. Changes made to existing functions
 =====================================

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

Reply via email to