List of PHP binary safe functions

From LemonWiki共筆
Revision as of 13:52, 11 July 2019 by Planetoid (talk | contribs) (Created page with "List of PHP [https://en.wikipedia.org/wiki/Binary-safe binary safe] functions {| class="wikitable sortable" |- ! Goal !! Binary safe function !! '''NOT''' binary safe |- | "R...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

List of PHP binary safe functions

Goal Binary safe function NOT binary safe
"Return part of a string" mb_substr substr
"Get string length" mb_strlen strlen
"Replace all occurrences of the search string with the replacement string" str_replace
"Find the position of the first occurrence of a substring in a string" strpos
"Replace text within a portion of a string" substr_replace
範例 範例 範例