Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2002112

[PHP-DEV] ZEND_PUTC question From: Brad Bulger (tater <email protected>)
Date: 11/21/02

I was looking at compile warnings for 4.3, and came across this
in Zend/zend.h

/* output support */
#define ZEND_WRITE(str, str_len) zend_write((str), (str_len))
#define ZEND_PUTS(str) zend_write((str), strlen((str)))
#define ZEND_PUTC(c) zend_write(&(c), 1), (c)

is there a reason why that last line isn't just

#define ZEND_PUTC(c) zend_write(&(c), 1)

??

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php