Re: cvs: php-src(PHP_5_2) /ext/standard php_string.h string.c
| From: | Antony Dovgal | Date: | Tue, 29 Aug 2006 07:35:43 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_2) /ext/standard php_string.h string.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-40154@lists.php.net to get a copy of this message | ||
On 29.08.2006 03:33, Ilia Alshanetsky wrote:
iliaa Mon Aug 28 23:33:37 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard string.c php_string.h Log:
Adjust code to avoid TSRMLS_FETCH
@@ -134,7 +134,7 @@ PHPAPI size_t php_strip_tags(char *rbuf, int len, int *state, char *allow, int allow_len); PHPAPI int php_char_to_str_ex(char *str, uint len, char from, char *to, int to_len, zval *result, int case_sensitivity, int *replace_count); PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, zval *result); -PHPAPI void php_implode(zval *delim, zval *arr, zval *return_value); +PHPAPI void php_implode(zval *delim, zval *arr, zval *return_value TSRMLS_DC);Having different php_implode() signatures in 5_2 and HEAD doesn't look like a nice solution to me. I'd leave it with TSRMLS_FETCH() (or change it in HEAD too, but why break something that was this way for years?). -- Wbr, Antony Dovgal