php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_smart_string.h File Reference
#include "zend_smart_string_public.h"
#include <stdlib.h>
#include <zend.h>

Go to the source code of this file.

Macros

#define smart_string_appends_ex(str, src, what)
 
#define smart_string_appends(str, src)
 
#define smart_string_append_ex(str, src, what)
 
#define smart_string_sets(str, src)
 
#define smart_string_appendc(str, c)
 
#define smart_string_free(s)
 
#define smart_string_appendl(str, src, len)
 
#define smart_string_append(str, src)
 
#define smart_string_append_long(str, val)
 
#define smart_string_append_unsigned(str, val)
 

Functions

ZEND_API void ZEND_FASTCALL _smart_string_alloc_persistent (smart_string *str, size_t len)
 
ZEND_API void ZEND_FASTCALL _smart_string_alloc (smart_string *str, size_t len)
 

Macro Definition Documentation

◆ smart_string_append

#define smart_string_append ( str,
src )
Value:
smart_string_append_ex((str), (src), 0)
#define smart_string_append_ex(str, src, what)

Definition at line 44 of file zend_smart_string.h.

◆ smart_string_append_ex

#define smart_string_append_ex ( str,
src,
what )
Value:
smart_string_appendl_ex((str), ((smart_string *)(src))->c, \
((smart_string *)(src))->len, (what));
size_t len
Definition apprentice.c:174

Definition at line 32 of file zend_smart_string.h.

◆ smart_string_append_long

#define smart_string_append_long ( str,
val )
Value:
smart_string_append_long_ex((str), (val), 0)
zval * val
Definition ffi.c:4262

Definition at line 46 of file zend_smart_string.h.

◆ smart_string_append_unsigned

#define smart_string_append_unsigned ( str,
val )
Value:
smart_string_append_unsigned_ex((str), (val), 0)

Definition at line 48 of file zend_smart_string.h.

◆ smart_string_appendc

#define smart_string_appendc ( str,
c )
Value:
smart_string_appendc_ex((str), (c), 0)

Definition at line 38 of file zend_smart_string.h.

◆ smart_string_appendl

#define smart_string_appendl ( str,
src,
len )
Value:
smart_string_appendl_ex((str), (src), (len), 0)

Definition at line 42 of file zend_smart_string.h.

◆ smart_string_appends

#define smart_string_appends ( str,
src )
Value:
smart_string_appendl((str), (src), strlen(src))
strlen(string $string)
#define smart_string_appendl(str, src, len)

Definition at line 30 of file zend_smart_string.h.

◆ smart_string_appends_ex

#define smart_string_appends_ex ( str,
src,
what )
Value:
smart_string_appendl_ex((str), (src), strlen(src), (what))

Definition at line 28 of file zend_smart_string.h.

◆ smart_string_free

#define smart_string_free ( s)
Value:
smart_string_free_ex((s), 0)
char s[4]
Definition cdf.c:77

Definition at line 40 of file zend_smart_string.h.

◆ smart_string_sets

#define smart_string_sets ( str,
src )
Value:
smart_string_setl((str), (src), strlen(src));

Definition at line 35 of file zend_smart_string.h.

Function Documentation

◆ _smart_string_alloc()

ZEND_API void ZEND_FASTCALL _smart_string_alloc ( smart_string * str,
size_t len )

Definition at line 159 of file zend_smart_str.c.

◆ _smart_string_alloc_persistent()

ZEND_API void ZEND_FASTCALL _smart_string_alloc_persistent ( smart_string * str,
size_t len )

Definition at line 139 of file zend_smart_str.c.