Function estrdup
Source pub fn estrdup(string: impl Into<Vec<u8>>) -> *mut c_char
Expand description
Duplicates a string using the PHP memory manager.
§Parameters
string
- The string to duplicate, which can be any type that can be
converted into a Vec<u8>
.
§Returns
A pointer to the duplicated string in the PHP memory manager.