[PHP-CVS] cvs: php-src / NEWS /ext/xsl xsltprocessor.c /ext/xsl/tests xslt011.phpt

2004-01-19 Thread Christian Stocker
chregu Mon Jan 19 12:27:23 2004 EDT Modified files: /php-srcNEWS /php-src/ext/xslxsltprocessor.c /php-src/ext/xsl/tests xslt011.phpt Log: Cosmetics and NEWS entry http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1581&r2=1.1582&ty=u Index:

Re: [PHP-CVS] cvs: php-src / NEWS /ext/xsl xsltprocessor.c

2003-12-22 Thread Andi Gutmans
At 07:09 PM 12/22/2003 +0100, Derick Rethans wrote: On Mon, 22 Dec 2003, Andi Gutmans wrote: > In cases like this I think it's sexier to use do {} while(0). I also use > goto but usually only in places where the former isn't suitable. Why hide "goto" with "do {} while(0)"? Using goto in this case

Re: [PHP-CVS] cvs: php-src / NEWS /ext/xsl xsltprocessor.c

2003-12-22 Thread Derick Rethans
On Mon, 22 Dec 2003, Andi Gutmans wrote: > In cases like this I think it's sexier to use do {} while(0). I also use > goto but usually only in places where the former isn't suitable. Why hide "goto" with "do {} while(0)"? Using goto in this case is much clearer IMO. Derick -- PHP CVS Mailing

Re: [PHP-CVS] cvs: php-src / NEWS /ext/xsl xsltprocessor.c

2003-12-22 Thread Andi Gutmans
In cases like this I think it's sexier to use do {} while(0). I also use goto but usually only in places where the former isn't suitable. In your case, I think it is. It would look something like the following: int fd; php_stream *stream = php_stream_open_wrapper_ex(uri, "wb", ENFORCE_SAFE_MODE

[PHP-CVS] cvs: php-src / NEWS /ext/xsl xsltprocessor.c

2003-12-22 Thread Ilia Alshanetsky
iliaa Mon Dec 22 11:32:30 2003 EDT Modified files: /php-srcNEWS /php-src/ext/xslxsltprocessor.c Log: Fixed bug #26690 (make xsltProcessor->transformToUri use streams wrappers). Index: php-src/NEWS diff -u php-src/NEWS:1.1551 php-src/NEWS:1.1552