intelephense
1.14.41.16.1
lib/stub/standard/standard_1.phplib/stub/standard/standard_1.php+5−2
Index: package/lib/stub/standard/standard_1.php
===================================================================
--- package/lib/stub/standard/standard_1.php
+++ package/lib/stub/standard/standard_1.php
@@ -794,8 +794,9 @@
* subject, and the return value is an array as
* well.
* </p>
* @param int &$count [optional] If passed, this will hold the number of matched and replaced needles.
+ * @param-out int $count
* @return TSubject This function returns a string or an array with the replaced values.
*/
function str_replace(array|string $search, array|string $replace, array|string $subject, &$count): array|string {}
@@ -818,8 +819,9 @@
* The number of matched and replaced needles will
* be returned in count which is passed by
* reference.
* </p>
+ * @param-out int $count
* @return string|string[] a string or an array of replacements.
*/
function str_ireplace(array|string $search, array|string $replace, array|string $subject, &$count): array|string {}
@@ -964,8 +966,9 @@
* By passing a reference as third argument,
* similar_text will calculate the similarity in
* percent for you.
* </p>
+ * @param-out float $percent
* @return int the number of matching chars in both strings.
*/
function similar_text(string $string1, string $string2, &$percent): int {}
@@ -989,11 +992,11 @@
* </p>
* <p>
* If the limit parameter is zero, then this is treated as 1.
* </p>
- * @return string[]|false If delimiter is an empty string (""),
+ * @return string[]|false If separator is an empty string (""),
* explode will return false.
- * If delimiter contains a value that is not
+ * If separator contains a value that is not
* contained in string and a negative
* limit is used, then an empty array will be
* returned. For any other limit, an array containing
* string will be returned.