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)