cvs: php4(PHP_4_2_0) / NEWS
| From: | Jason Greene | Date: | Thu, 07 Mar 2002 00:24:30 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) / NEWS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9757@lists.php.net to get a copy of this message | ||
jason Wed Mar 6 19:24:30 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4 NEWS
Log:
MFH
Index: php4/NEWS
diff -u php4/NEWS:1.885 php4/NEWS:1.885.2.1
--- php4/NEWS:1.885 Wed Mar 6 17:08:25 2002
+++ php4/NEWS Wed Mar 6 19:24:30 2002
@@ -1,6 +1,21 @@
PHP 4 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2002, Version 4.2.0
+- Introduced major modifications to the Sockets Extension and its API (Jason):
+ . Fixed numerous bugs.
+ . Added automatic host lookup capability to all functions that take addr's
+ . ex. socket_connect($sock, 'www.yahoo.com', 80);
+ . Corrected and standardized host lookup errors
+ . Modified socket_recv() behavior. [$r=socket_recv($sock, $buf, $len, $flags)]
+ . Added socket_set_block() which changes a socket into blocking IO mode
+ . Modified socket_last_error() to not clear the last error
+ . Added socket_clear_error() which clears the last error on a socket
+ . Removed all code pertaining to fd_sets (socket_fd_*)
+ . Modfied/Improved socket_select() to take resource arrays instead of fd_sets
+ ex. <?php $wfds=$rfds=array($sock1, $sock2, $sock3, $sock7);
+ $r=socket_select($rfds, $wfds, NULL, 1);
+ print "Ready to read:\n"; var_dump($rfds); ?>
+- Returned iconv support to FreeBSD (kalowsky)
- Added CLI (command line intrerface) sapi based on a cut-down version
of the CGI sapi which is more suited for writing shell scripts. Some of
the differences are: it prints no HTTP headers, displays plain text