summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-05-01 07:25:23 +0000
committerMarkus Fischer <mfischer@php.net>2002-05-01 07:25:23 +0000
commit53584a7dfddf8adf86d213ebcbdc3ed9cd8c0923 (patch)
tree5e4be2da522d8c69ad1b0bb03391b0dcd5bbc147
parent1784f408bc128794a8b01e6b7177df26c43951a6 (diff)
downloadphp-git-53584a7dfddf8adf86d213ebcbdc3ed9cd8c0923.tar.gz
- Mention the socket_select() API change
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4ad19bfec3..c4538368f7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,12 @@
PHP 4 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
03 May 2002, Version 4.2.1
+- Fixed a bug in socket_select() that could cause unexpected behavior when
+ using a statement like $w = $e = array($sock); This change unfortunately
+ prevents the use of constant values (e.g. NULL) for the socket array
+ paramaters. Instead, use a temporary variable or an expression with the
+ leftmost member being a temporary variable. ex.:
+ socket_select($w, $r, $e = NULL, 10); (Jason)
- Fixed malformed atime/mtime with touch(). (Yasuo)
- Fixed a couple of bugs in array_sum() and array_merge(). (Andrei)
- Fixed SJIS directory name handling under Windows. (Rui)