Re: Re: Any idea why we have two html_puts()'s?

From: Date: Sun, 12 May 2002 15:34:42 +0000
Subject: Re: Re: Any idea why we have two html_puts()'s?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83937@lists.php.net to get a copy of this message
I favor php_html_puts also due to maintability reasons. Please consider this part of code from zend_html_puts: && !(((ptr+1)>=end) || (*(ptr+1)==' ')) /* next is not a space */ && !((ptr==s) || (*(ptr-1)==' '))) /* last is not a space */ { And contrast it with the inherent beauty of php_html_puts. > I'd *really* like to avoid having two copies of the same code, > though. Please remove the duplicated implementation... Ok, I'll implement the solution I posted earlier and make zend_html_puts a function pointer. - Sascha Experience IRCG http://schumann.cx/ http://schumann.cx/ircg

« previous php.dev (#83937) next »