From: Sterling Hughes Date: Sun, 1 Dec 2002 22:15:39 +0000 (+0000) Subject: TODO: Cleanup elements that have happened, or most likely won't happen. There X-Git-Tag: RELEASE_1_0b3~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=065104b8fea6f08e1725f47ebdc17cec6713b637;p=php TODO: Cleanup elements that have happened, or most likely won't happen. There is probably more that should be gone, but its still a move in the right direction. Other stuff is ws/formatting changes --- diff --git a/TODO b/TODO index f553dd5b0a..6e3726b8a4 100644 --- a/TODO +++ b/TODO @@ -3,9 +3,7 @@ parenthesis means that person has taken on this project. Zend ---- - For PHP 4.3.0: - * Allow foreach ($array as $k => &$val) syntax. right now we cannot - traverse an array without copying each element. + For PHP 5.0.0: * Allow foreach ($array as $k => list($a, $b)) syntax for multi dimensional arrays. * Look at replacing c-lib call tolower(). @@ -16,8 +14,8 @@ Zend * Add configure test to determine if dlsym() requires underscore and set DLSYM_NEEDS_UNDERSCORE accordingly. Perl and zsh have it in configure, for example. (DONE?) - - For PHP 5.0.0: + * Allow foreach ($array as $k => &$val) syntax. right now we cannot + traverse an array without copying each element. * Native large number support (probably with GNU GMP) * Const'ify APIs. Right now, many functions leave parameters untouched, but don't declare those as const. This makes interaction with other @@ -27,17 +25,8 @@ Zend global ------ For PHP 4.3.0: - * Add aliases to functions to conform to new naming conventions, e.g. - str_to_upper(). - * Make all extensions thread-safe. - * Make everything on the language-level independent of your locale - settings. - * Change PHP error messages, so that they point to pages or sections - in the PHP Manual. * Make sure that all ZTS globals get destructed. Most ts_allocate_id() calls should have a dtor entry. - * Activate all extensions by default that don't rely on external - dependencies. (eg ftp) (DONE?) * on some platforms unimplemented function will just do nothing (e.g. symlink) they should print a warning or not even be defined! (DONE ?) diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 451b5badcc..e574e34503 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -797,7 +797,7 @@ PHP_FUNCTION(socket_read) } tmpbuf = erealloc(tmpbuf, retval + 1); - tmpbuf[ retval ] = '\0' ; + tmpbuf[retval] = '\0' ; RETURN_STRINGL(tmpbuf, retval, 0); } @@ -1069,7 +1069,8 @@ PHP_FUNCTION(socket_bind) } default: - php_error(E_WARNING, "%s() unsupported socket type '%d', must be AF_UNIX or AF_INET", get_active_function_name(TSRMLS_C), php_sock->type); + php_error(E_WARNING, "%s() unsupported socket type '%d', must be AF_UNIX or AF_INET", + get_active_function_name(TSRMLS_C), php_sock->type); RETURN_FALSE; } @@ -2025,6 +2026,6 @@ PHP_FUNCTION(socket_clear_error) * tab-width: 4 * c-basic-offset: 4 * End: - * vim600: noet sw=4 ts=4 fdm=marker - * vim<600: noet sw=4 ts=4 + * vim600: fdm=marker + * vim: noet sw=4 ts=4 */