Skip to content

Commit 7ef1f9f

Browse files
author
committed
NEWS update
1 parent 14b6678 commit 7ef1f9f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

NEWS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
PHP 4 NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 200?, Version 4.2.0-dev
4+
- Added optional parameter to highlight_string and highlight_file which
5+
makes these functions return a highlighted string instead of dumping
6+
to standard output. (Derick)
7+
- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract()
8+
EXTR_IF_EXISTS only extracts a variable if it already exists
9+
EXTR_PREFIX_IF_EXISTS only extracts the variable if it exists and
10+
then it prepends the prefix to it. ie. if $PATH exists then
11+
extract($_ENV,EXTR_PREFIX_IF_EXISTS,'e') would result in $e_PATH
12+
This lets you do $a = $b = $c = true; extract($_REQUEST,EXTR_IF_EXISTS);
13+
and you only get the global request variables you have defined imported
14+
into your symbol table. (Rasmus)
415
- Fixed pg_pconnect(). It catches broken connection and reconnects to PostgreSQL
516
server always. When PostgreSQL is rebooted, web server reboot is not needed
617
to avoid errors. (Yasuo)

0 commit comments

Comments
 (0)