|
@@ -2807,7 +2807,7 @@ discard block |
|
|
block discarded – undo |
|
2807
|
2807
|
/** |
|
2808
|
2808
|
* Check if the input is binary... (is look like a hack). |
|
2809
|
2809
|
* |
|
2810
|
|
- * @param mixed $input |
|
|
2810
|
+ * @param string|false $input |
|
2811
|
2811
|
* |
|
2812
|
2812
|
* @return bool |
|
2813
|
2813
|
*/ |
|
@@ -5606,7 +5606,7 @@ discard block |
|
|
block discarded – undo |
|
5606
|
5606
|
* @link http://php.net/manual/en/function.mb-strrpos.php |
|
5607
|
5607
|
* |
|
5608
|
5608
|
* @param string $haystack <p>The string being checked, for the last occurrence of needle</p> |
|
5609
|
|
- * @param string|int $needle <p>The string to find in haystack.<br />Or a code point as int.</p> |
|
|
5609
|
+ * @param string $needle <p>The string to find in haystack.<br />Or a code point as int.</p> |
|
5610
|
5610
|
* @param int $offset [optional] <p>May be specified to begin searching an arbitrary number of characters |
|
5611
|
5611
|
* into the string. Negative values will stop searching at an arbitrary point prior to |
|
5612
|
5612
|
* the end of the string. |
|
@@ -6271,8 +6271,8 @@ discard block |
|
|
block discarded – undo |
|
6271
|
6271
|
* |
|
6272
|
6272
|
* source: https://gist.github.com/stemar/8287074 |
|
6273
|
6273
|
* |
|
6274
|
|
- * @param string|string[] $str <p>The input string or an array of stings.</p> |
|
6275
|
|
- * @param string|string[] $replacement <p>The replacement string or an array of stings.</p> |
|
|
6274
|
+ * @param string $str <p>The input string or an array of stings.</p> |
|
|
6275
|
+ * @param string $replacement <p>The replacement string or an array of stings.</p> |
|
6276
|
6276
|
* @param int|int[] $start <p> |
|
6277
|
6277
|
* If start is positive, the replacing will begin at the start'th offset |
|
6278
|
6278
|
* into string. |
|
@@ -6280,7 +6280,7 @@ discard block |
|
|
block discarded – undo |
|
6280
|
6280
|
* If start is negative, the replacing will begin at the start'th character |
|
6281
|
6281
|
* from the end of string. |
|
6282
|
6282
|
* </p> |
|
6283
|
|
- * @param int|int[]|void $length [optional] <p>If given and is positive, it represents the length of the |
|
|
6283
|
+ * @param integer $length [optional] <p>If given and is positive, it represents the length of the |
|
6284
|
6284
|
* portion of string which is to be replaced. If it is negative, it |
|
6285
|
6285
|
* represents the number of characters from the end of string at which to |
|
6286
|
6286
|
* stop replacing. If it is not given, then it will default to strlen( |
|
@@ -6712,7 +6712,7 @@ discard block |
|
|
block discarded – undo |
|
6712
|
6712
|
* case.</li> |
|
6713
|
6713
|
* </ul> |
|
6714
|
6714
|
* |
|
6715
|
|
- * @param string|string[] $str <p>Any string or array.</p> |
|
|
6715
|
+ * @param string|false $str <p>Any string or array.</p> |
|
6716
|
6716
|
* @param bool $decodeHtmlEntityToUtf8 <p>Set to true, if you need to decode html-entities.</p> |
|
6717
|
6717
|
* |
|
6718
|
6718
|
* @return string|string[] <p>The UTF-8 encoded string.</p> |