]> granicus.if.org Git - php/commitdiff
NEWS update
author <changelog@php.net> <>
Sat, 26 Jan 2002 01:14:48 +0000 (01:14 +0000)
committer <changelog@php.net> <>
Sat, 26 Jan 2002 01:14:48 +0000 (01:14 +0000)
NEWS

diff --git a/NEWS b/NEWS
index 9f616b24965a1ec9c38522d3452d3a2a500629dd..b3cc9cd5f1660fb72d63f88aeea2d3b730f420cc 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,17 @@
 PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 200?, Version 4.2.0-dev
+- Added optional parameter to highlight_string and highlight_file which
+  makes these functions return a highlighted string instead of dumping
+  to standard output. (Derick)
+- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract()
+  EXTR_IF_EXISTS only extracts a variable if it already exists
+  EXTR_PREFIX_IF_EXISTS only extracts the variable if it exists and
+  then it prepends the prefix to it.  ie. if $PATH exists then
+  extract($_ENV,EXTR_PREFIX_IF_EXISTS,'e') would result in $e_PATH
+  This lets you do $a = $b = $c = true; extract($_REQUEST,EXTR_IF_EXISTS);
+  and you only get the global request variables you have defined imported
+  into your symbol table.  (Rasmus)
 - Fixed pg_pconnect(). It catches broken connection and reconnects to PostgreSQL 
   server always. When PostgreSQL is rebooted, web server reboot is not needed
   to avoid errors. (Yasuo)