intelephense
1.14.41.16.1
lib/stub/yaml/yaml.phplib/stub/yaml/yaml.php+3
Index: package/lib/stub/yaml/yaml.php
===================================================================
--- package/lib/stub/yaml/yaml.php
+++ package/lib/stub/yaml/yaml.php
@@ -90,8 +90,9 @@
* @link https://php.net/manual/en/function.yaml-parse-file.php
* @param string $filename Path to the file.
* @param int $pos [optional] Document to extract from stream (-1 for all documents, 0 for first document, ...).
* @param int &$ndocs [optional] If ndocs is provided, then it is filled with the number of documents found in stream.
+ * @param-out int $ndocs
* @param array $callbacks [optional] Content handlers for YAML nodes. Associative array of YAML tag => callable mappings. See parse callbacks for more details.
* @return mixed|false Returns the value encoded in input in appropriate PHP type or FALSE on failure. If pos is -1 an array will be returned with one entry for each document found in the stream.
*/
function yaml_parse_file($filename, $pos = 0, &$ndocs = null, array $callbacks = []) {}
@@ -102,8 +103,9 @@
* @link https://php.net/manual/en/function.yaml-parse-url.php
* @param string $url url should be of the form "scheme://...". PHP will search for a protocol handler (also known as a wrapper) for that scheme. If no wrappers for that protocol are registered, PHP will emit a notice to help you track potential problems in your script and then continue as though filename specifies a regular file.
* @param int $pos [optional] Document to extract from stream (-1 for all documents, 0 for first document, ...).
* @param int &$ndocs [optional] If ndocs is provided, then it is filled with the number of documents found in stream.
+ * @param-out int $ndocs
* @param array $callbacks [optional] Content handlers for YAML nodes. Associative array of YAML tag => callable mappings. See parse callbacks for more details.
* @return mixed|false Returns the value encoded in input in appropriate PHP type or FALSE on failure. If pos is -1 an array will be returned with one entry for each document found in the stream.
*/
function yaml_parse_url($url, $pos = 0, &$ndocs = null, array $callbacks = []) {}
@@ -114,8 +116,9 @@
* @link https://php.net/manual/en/function.yaml-parse.php
* @param string $input The string to parse as a YAML document stream.
* @param int $pos [optional] Document to extract from stream (-1 for all documents, 0 for first document, ...).
* @param int &$ndocs [optional] If ndocs is provided, then it is filled with the number of documents found in stream.
+ * @param-out int $ndocs
* @param array $callbacks [optional] Content handlers for YAML nodes. Associative array of YAML tag => callable mappings. See parse callbacks for more details.
* @return mixed|false Returns the value encoded in input in appropriate PHP type or FALSE on failure. If pos is -1 an array will be returned with one entry for each document found in the stream.
*/
function yaml_parse($input, $pos = 0, &$ndocs = null, array $callbacks = []) {}