|
@@ -2731,7 +2731,7 @@ discard block |
|
|
block discarded – undo |
|
2731
|
2731
|
/** |
|
2732
|
2732
|
* Check if the input is binary... (is look like a hack). |
|
2733
|
2733
|
* |
|
2734
|
|
- * @param mixed $input |
|
|
2734
|
+ * @param string $input |
|
2735
|
2735
|
* |
|
2736
|
2736
|
* @return bool |
|
2737
|
2737
|
*/ |
|
@@ -5457,7 +5457,7 @@ discard block |
|
|
block discarded – undo |
|
5457
|
5457
|
* @link http://php.net/manual/en/function.mb-strrpos.php |
|
5458
|
5458
|
* |
|
5459
|
5459
|
* @param string $haystack <p>The string being checked, for the last occurrence of needle</p> |
|
5460
|
|
- * @param string|int $needle <p>The string to find in haystack.<br />Or a code point as int.</p> |
|
|
5460
|
+ * @param string $needle <p>The string to find in haystack.<br />Or a code point as int.</p> |
|
5461
|
5461
|
* @param int $offset [optional] <p>May be specified to begin searching an arbitrary number of characters |
|
5462
|
5462
|
* into the string. Negative values will stop searching at an arbitrary point prior to |
|
5463
|
5463
|
* the end of the string. |
|
@@ -6116,8 +6116,8 @@ discard block |
|
|
block discarded – undo |
|
6116
|
6116
|
* |
|
6117
|
6117
|
* source: https://gist.github.com/stemar/8287074 |
|
6118
|
6118
|
* |
|
6119
|
|
- * @param string|string[] $str <p>The input string or an array of stings.</p> |
|
6120
|
|
- * @param string|string[] $replacement <p>The replacement string or an array of stings.</p> |
|
|
6119
|
+ * @param string $str <p>The input string or an array of stings.</p> |
|
|
6120
|
+ * @param string $replacement <p>The replacement string or an array of stings.</p> |
|
6121
|
6121
|
* @param int|int[] $start <p> |
|
6122
|
6122
|
* If start is positive, the replacing will begin at the start'th offset |
|
6123
|
6123
|
* into string. |
|
@@ -6125,7 +6125,7 @@ discard block |
|
|
block discarded – undo |
|
6125
|
6125
|
* If start is negative, the replacing will begin at the start'th character |
|
6126
|
6126
|
* from the end of string. |
|
6127
|
6127
|
* </p> |
|
6128
|
|
- * @param int|int[]|void $length [optional] <p>If given and is positive, it represents the length of the |
|
|
6128
|
+ * @param integer $length [optional] <p>If given and is positive, it represents the length of the |
|
6129
|
6129
|
* portion of string which is to be replaced. If it is negative, it |
|
6130
|
6130
|
* represents the number of characters from the end of string at which to |
|
6131
|
6131
|
* stop replacing. If it is not given, then it will default to strlen( |
|
@@ -6557,7 +6557,7 @@ discard block |
|
|
block discarded – undo |
|
6557
|
6557
|
* case.</li> |
|
6558
|
6558
|
* </ul> |
|
6559
|
6559
|
* |
|
6560
|
|
- * @param string|string[] $str <p>Any string or array.</p> |
|
|
6560
|
+ * @param string $str <p>Any string or array.</p> |
|
6561
|
6561
|
* @param bool $decodeHtmlEntityToUtf8 <p>Set to true, if you need to decode html-entities.</p> |
|
6562
|
6562
|
* |
|
6563
|
6563
|
* @return string|string[] <p>The UTF-8 encoded string.</p> |