mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
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