1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00
Files
Louis-Arnaud 132d2a8d63 Fix incorrect return value description for yaml_parse_file() (#5106)
The manual stated that yaml_parse_file() returns false on failure.

In practice, the function returns either the parsed value (usually an array) or a string containing an error message, and does not return false.

This PR updates the return value documentation to reflect the actual behavior observed with ext-yaml on PHP 8.2 and 8.3.

Closes GH-4978
2026-01-14 21:28:34 +00:00
..
2018-01-25 19:11:34 +00:00