Re: Re: cvs: php4 /ext/msession msession.c

From: Date: Tue, 05 Feb 2002 17:29:01 +0000
Subject: Re: Re: cvs: php4 /ext/msession msession.c
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-79252@lists.php.net to get a copy of this message
It's much better to define TSRMLS_CC to nothing, then #ifdef every statement that uses it...

Zeev

At 07:42 PM 2/5/2002, mlwmohawk@mohawksoft.com wrote:
mlwmohawk@mohawksoft.com wrote:
This sort of bothers me. Who is this "our" you talk about? As contributor of the msession extension, am I not also part of "our" and don't I get a say on the priorities of msession?
not if these priorities are in contradiction to the overall goals, and as such BC is not *that* important on a developement branch Perhaps, but it is not "contrary" either.
I can understand your position, but the msession extension not a difficult peice of code. I have updated the proto comments so they correctly state what the functions do. Just tell me what else you want for comments.
the #ifdef OLD_ZEND_PARAM stuff obfuscates it without need, especially in the additional places where you use it like this #ifdef OLD_ZEND_PARAM
      php_log_err("Call to connect with non-null s_conn");
#else
      php_log_err("Call to connect with non-null s_conn" TSRMLS_CC);
#endif the behaviour you test for is not at all related to the parameter parsing functions, its just by coincidence that both are related to the same api version number switch What's a better test? -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


Thread (27 messages)

« previous php.dev (#79252) next »