]> granicus.if.org Git - php/commitdiff
Fix my broken entry
authorJason Greene <jason@php.net>
Wed, 31 Jul 2002 22:43:26 +0000 (22:43 +0000)
committerJason Greene <jason@php.net>
Wed, 31 Jul 2002 22:43:26 +0000 (22:43 +0000)
NEWS

diff --git a/NEWS b/NEWS
index 00f61acff9f16bee2d8c9b2ede12b2ed21076882..e6d069ba9546e8e6d7febfa961f33a7e663fd11f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,16 @@
 PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ? ? ??? 2002, Version 4.3.0
-- Added the ability to globaly declare a compiler modifier globally by using an empty statement
-  i.e. <?php declare (ticks=1); //do something ?> (Jason)
+- Added the ability for declare() compiler modifications to occur globally
+  by using an empty statement. (Jason, Zend Engine)
+  i.e.  
+        //Globally enables the ticks modifier for the whole program
+        declare (ticks=1);
+
+        //Enables the ticks modifier for just the lexical block containing "statement"
+        deckare (ticks=1) {
+           statement;
+        }
 - Bring strtotime() "next" keyword handling in line with documentation and
   its glibc cousin.  (Rasmus)
 - Fixed str_rot13() to not mangle source string. (Rasmus)