Re: [PHP4BETA] cvs: /php4 SAPI.h /php4/ext/standard php_output.h
| From: | Faisal Nasim | Date: | Sun, 19 Mar 2000 13:34:24 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4 SAPI.h /php4/ext/standard php_output.h | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12401@lists.php.net to get a copy of this message | ||
: thies Sun Mar 19 02:57:10 2000 EDT
:
<cut>
: -SAPI_API int sapi_flush();
: -SAPI_API struct stat *sapi_get_stat();
: +SAPI_API int sapi_flush(void);
: +SAPI_API struct stat *sapi_get_stat(void);
: SAPI_API char *sapi_getenv(char *name, int name_len);
According to Bjarne's book, the function:
int blah () { ... }
is more professional than:
int blah ( void ) { ... }
Not those exact words, but says that you will not see
voids in a professionally written program...
<cut>