1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00
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
2025-12-22 11:01:42 +08:00
2024-12-18 15:48:35 +01:00
2024-11-12 14:29:40 +00:00

PHP Documentation

Please refer to the contribution guidelines and the README file within the doc-base repository for details on how to contribute to PHP's documentation.

The PHP manual is available at php.net/docs.

Creating this setup

For information related to creating this setup, see the contribution guidelines or this page on our documentation website.

Building With make and Docker

If the doc-base or phd repositories are available in directories to the adjacent to this directory, those will be used for building.

To force the Docker image used for building to itself be rebuilt, you can run make -B build, otherwise the Makefile will only build it if does not already exist.

You can also build the web version of the documentation with make php and the output will be placed in output/php-web

Translations

For the translations of this documentation, see:

Documentation pipeline

For more information on the various repositories that make up PHP's documentation pipeline, see this overview.

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:20:54.814Z
Readme 131 MiB
Languages
XML 98.5%
HTML 0.9%
Makefile 0.3%
Dockerfile 0.3%