intelephense

1.14.41.16.1
lib/stub/standard/standard_0.php
lib/stub/standard/standard_0.php
+3−1
Index: package/lib/stub/standard/standard_0.php
===================================================================
--- package/lib/stub/standard/standard_0.php
+++ package/lib/stub/standard/standard_0.php
@@ -31,8 +31,9 @@
      * @link https://php.net/manual/en/php-user-filter.filter.php
      * @param resource $in <p> is a resource pointing to a <i>bucket brigade</i< which contains one or more <i>bucket</i> objects containing data to be filtered.</p>
      * @param resource $out <p>is a resource pointing to a second bucket brigade into which your modified buckets should be placed.</p>
      * @param int &$consumed <p>which must <i>always</i> be declared by reference, should be incremented by the length of the data which your filter reads in and alters. In most cases this means you will increment consumed by <i>$bucket->datalen</i> for each <i>$bucket</i>.</p>
+     * @param-out int $consumed
      * @param bool $closing <p>If the stream is in the process of closing (and therefore this is the last pass through the filterchain), the closing parameter will be set to <b>TRUE</b>
      * @return int <p>
      * The <b>filter()</b> method must return one of
      * three values upon completion.
@@ -529,9 +530,9 @@
  * </p>
  * @return string the encoded string.
  */
 #[Pure]
-function htmlentities(string $string, int $flags = ENT_QUOTES|ENT_SUBSTITUTE, ?string $encoding, bool $double_encode = true): string {}
+function htmlentities(string $string, int $flags = ENT_QUOTES|ENT_SUBSTITUTE, ?string $encoding = null, bool $double_encode = true): string {}
 
 /**
  * Convert HTML entities  to their corresponding characters
  * @link https://php.net/manual/en/function.html-entity-decode.php
@@ -909,8 +910,9 @@
  * IPTC information in the APP13 marker.
  * You can use the iptcparse function to parse the
  * binary APP13 marker into something readable.
  * </p>
+ * @param-out array $image_info
  * @return array{0:int, 1:int, 2:int, 3:string, bits:int, channels:int, mime:string}|false an array with 7 elements.
  * <p>
  * Index 0 and 1 contains respectively the width and the height of the image.
  * </p>