List of PHP binary safe functions: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
([https://gist.github.com/JBlond/942f17f629f22e810fe3 mb_substr_replace]) |
mNo edit summary |
||
| Line 15: | Line 15: | ||
| "Replace all occurrences of the search string with the replacement string" || [https://www.php.net/manual/en/function.str-replace.php str_replace] || | | "Replace all occurrences of the search string with the replacement string" || [https://www.php.net/manual/en/function.str-replace.php str_replace] || | ||
|- | |- | ||
| "Find the position of the first occurrence of a substring in a string" || [https://www.php.net/manual/en/function.mb- | | "Find the position of the first occurrence of a substring in a string" || [https://www.php.net/manual/en/function.mb-strpos.php mb_strpos] || [https://php.net/manual/en/function.strpos.php strpos] | ||
|- | |- | ||
| "Replace text within a portion of a string" || [https://www.php.net/manual/en/function.substr-replace.php substr_replace] or [https://gist.github.com/JBlond/942f17f629f22e810fe3 mb_substr_replace] || | | "Replace text within a portion of a string" || [https://www.php.net/manual/en/function.substr-replace.php substr_replace] or [https://gist.github.com/JBlond/942f17f629f22e810fe3 mb_substr_replace] || | ||