/* }}} */
/* {{{ proto string gmdate(string format [, int timestamp])
- Format a GMT/CUT date/time */
+ Format a GMT/UTC date/time */
PHP_FUNCTION(gmdate)
{
php_date(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
/* }}} */
/* {{{ proto string gmstrftime(string format [, int timestamp])
- Format a GMT/CUT time/date according to locale settings */
+ Format a GMT/UCT time/date according to locale settings */
PHP_FUNCTION(gmstrftime)
{
_php_strftime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
ptr = *buf = emalloc(step);
max_len = step;
- while(ret = FP_FREAD(ptr, max_len - len, socket, fp, issock)) {
+ while((ret = FP_FREAD(ptr, max_len - len, socket, fp, issock))) {
len += ret;
if(len + min_room >= max_len) {
*buf = erealloc(*buf, max_len + step);