|
@@ -2816,7 +2816,7 @@ discard block |
|
|
block discarded – undo |
|
2816
|
2816
|
/** |
|
2817
|
2817
|
* Check if the input is binary... (is look like a hack). |
|
2818
|
2818
|
* |
|
2819
|
|
- * @param mixed $input |
|
|
2819
|
+ * @param string $input |
|
2820
|
2820
|
* |
|
2821
|
2821
|
* @return bool |
|
2822
|
2822
|
*/ |
|
@@ -5806,7 +5806,7 @@ discard block |
|
|
block discarded – undo |
|
5806
|
5806
|
* @link http://php.net/manual/en/function.mb-strrpos.php |
|
5807
|
5807
|
* |
|
5808
|
5808
|
* @param string $haystack <p>The string being checked, for the last occurrence of needle</p> |
|
5809
|
|
- * @param string|int $needle <p>The string to find in haystack.<br />Or a code point as int.</p> |
|
|
5809
|
+ * @param string $needle <p>The string to find in haystack.<br />Or a code point as int.</p> |
|
5810
|
5810
|
* @param int $offset [optional] <p>May be specified to begin searching an arbitrary number of characters |
|
5811
|
5811
|
* into the string. Negative values will stop searching at an arbitrary point prior to |
|
5812
|
5812
|
* the end of the string. |
|
@@ -6583,8 +6583,8 @@ discard block |
|
|
block discarded – undo |
|
6583
|
6583
|
* |
|
6584
|
6584
|
* source: https://gist.github.com/stemar/8287074 |
|
6585
|
6585
|
* |
|
6586
|
|
- * @param string|string[] $str <p>The input string or an array of stings.</p> |
|
6587
|
|
- * @param string|string[] $replacement <p>The replacement string or an array of stings.</p> |
|
|
6586
|
+ * @param string $str <p>The input string or an array of stings.</p> |
|
|
6587
|
+ * @param string $replacement <p>The replacement string or an array of stings.</p> |
|
6588
|
6588
|
* @param int|int[] $offset <p> |
|
6589
|
6589
|
* If start is positive, the replacing will begin at the start'th offset |
|
6590
|
6590
|
* into string. |
|
@@ -6592,7 +6592,7 @@ discard block |
|
|
block discarded – undo |
|
6592
|
6592
|
* If start is negative, the replacing will begin at the start'th character |
|
6593
|
6593
|
* from the end of string. |
|
6594
|
6594
|
* </p> |
|
6595
|
|
- * @param int|int[]|void $length [optional] <p>If given and is positive, it represents the length of the |
|
|
6595
|
+ * @param integer|null $length [optional] <p>If given and is positive, it represents the length of the |
|
6596
|
6596
|
* portion of string which is to be replaced. If it is negative, it |
|
6597
|
6597
|
* represents the number of characters from the end of string at which to |
|
6598
|
6598
|
* stop replacing. If it is not given, then it will default to strlen( |
|
@@ -7027,7 +7027,7 @@ discard block |
|
|
block discarded – undo |
|
7027
|
7027
|
* case.</li> |
|
7028
|
7028
|
* </ul> |
|
7029
|
7029
|
* |
|
7030
|
|
- * @param string|string[] $str <p>Any string or array.</p> |
|
|
7030
|
+ * @param string $str <p>Any string or array.</p> |
|
7031
|
7031
|
* @param bool $decodeHtmlEntityToUtf8 <p>Set to true, if you need to decode html-entities.</p> |
|
7032
|
7032
|
* |
|
7033
|
7033
|
* @return string|string[] <p>The UTF-8 encoded string.</p> |