mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Fix Win32 (and maybe other ZTS) builds.
This commit is contained in:
parent
5bdc64c505
commit
ea79632b29
@ -112,7 +112,7 @@ PHPAPI char *php_stristr(unsigned char *s, unsigned char *t, size_t s_len, size_
|
||||
PHPAPI char *php_str_to_str(char *haystack, int length, char *needle,
|
||||
int needle_len, char *str, int str_len, int *_new_length);
|
||||
PHPAPI void php_trim(pval *str, pval *return_value, int mode);
|
||||
void php_trim2(zval *str, zval *what, zval *return_value, int mode);
|
||||
PHPAPI void php_trim2(zval *str, zval *what, zval *return_value, int mode);
|
||||
PHPAPI void php_strip_tags(char *rbuf, int len, int state, char *allow, int allow_len);
|
||||
|
||||
PHPAPI void php_char_to_str(char *str, uint len, char from, char *to, int to_len, pval *result);
|
||||
|
@ -185,6 +185,7 @@ static inline void php_var_serialize_string(smart_str *buf, char *str, int len)
|
||||
static inline void php_var_serialize_class_name(smart_str *buf, zval **struc)
|
||||
{
|
||||
PHP_CLASS_ATTRIBUTES;
|
||||
TSRMLS_FETCH();
|
||||
|
||||
PHP_SET_CLASS_ATTRIBUTES(*struc);
|
||||
smart_str_appendl(buf, "O:", 2);
|
||||
|
Loading…
Reference in New Issue
Block a user