changelog               Mon Mar  5 01:31:05 2007 UTC

  Modified files:              
    /ZendEngine2        ChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/ChangeLog?r1=1.1076&r2=1.1077&diff_format=u
Index: ZendEngine2/ChangeLog
diff -u ZendEngine2/ChangeLog:1.1076 ZendEngine2/ChangeLog:1.1077
--- ZendEngine2/ChangeLog:1.1076        Sun Mar  4 01:31:04 2007
+++ ZendEngine2/ChangeLog       Mon Mar  5 01:31:05 2007
@@ -1,3 +1,16 @@
+2007-03-04  Marcus Boerger  <[EMAIL PROTECTED]>
+
+    * zend_language_parser.y:
+      - Implement '?:'
+      [DOC] "expr1 ?: expr1" is a shortcut for: "expr1 ? expr1 : expr2" as
+            exists in gcc and discussed some time back. Note that this is not
+            an implementation ifsetor($var, default). While ifsetor would not
+            generate any message for non existing variables or array indices
+            the ternary shortcut does. Also the ternary shortcut does a boolean
+            evaluation rather then checking for isset(). That way ther ternary
+            shortcut can work on any expression while ifsetor can only work on
+            variables. Also to be silent one has do do: "@$expr1 ?: $expr2".
+
 2007-03-03  Marcus Boerger  <[EMAIL PROTECTED]>
 
     * zend_execute_API.c
@@ -16988,7 +17001,7 @@
 2003-06-10  Jani Taskinen  <[EMAIL PROTECTED]>
 
     * zend_multiply.h:
-      - Missing $Id: ChangeLog,v 1.1076 2007/03/04 01:31:04 changelog Exp $ tag
+      - Missing $Id: ChangeLog,v 1.1077 2007/03/05 01:31:05 changelog Exp $ tag
 
 2003-06-10  James Cox  <[EMAIL PROTECTED]>
 
@@ -18712,7 +18725,7 @@
       zend_types.h
       zend_variables.c
       zend_variables.h:
-      - Added some missing CVS $Id: ChangeLog,v 1.1076 2007/03/04 01:31:04 
changelog Exp $ tags, headers and footers.
+      - Added some missing CVS $Id: ChangeLog,v 1.1077 2007/03/05 01:31:05 
changelog Exp $ tags, headers and footers.
 
 2003-01-30  Ilia Alshanetsky  <[EMAIL PROTECTED]>
 

Reply via email to