List of PHP binary safe functions: Difference between revisions

Jump to navigation Jump to search
no edit summary
(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...")
 
No edit summary
Line 1: Line 1:
List of PHP [https://en.wikipedia.org/wiki/Binary-safe binary safe] functions
List of PHP '''binary safe'''<ref>[https://en.wikipedia.org/wiki/Binary-safe Binary-safe - Wikipedia]</ref> functions


{| class="wikitable sortable"
{| class="wikitable sortable"
Line 8: Line 8:
|-
|-
| "Get string length" || [https://www.php.net/manual/en/function.mb-strlen.php mb_strlen] || [https://www.php.net/manual/en/function.strlen.php strlen]
| "Get string length" || [https://www.php.net/manual/en/function.mb-strlen.php mb_strlen] || [https://www.php.net/manual/en/function.strlen.php strlen]
|-
| "Count the number of substring occurrences" || [https://www.php.net/manual/en/function.mb-substr-count.php mb_substr_count] || [https://www.php.net/substr-count substr_count]
|-
|-
| "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] ||  
Line 15: Line 17:
| "Replace text within a portion of a string" || [https://www.php.net/manual/en/function.substr-replace.php substr_replace] ||  
| "Replace text within a portion of a string" || [https://www.php.net/manual/en/function.substr-replace.php substr_replace] ||  
|-
|-
| 範例 || 範例 || 範例
| ... || ... || ...
|}
|}
== references ==
<references />


[[Category:PHP]] [[Category:Programming]]
[[Category:PHP]] [[Category:Programming]]
[[Category:Web_Dev]]
[[Category:Web_Dev]]

Navigation menu