8000 [Yaml] Added support for YAML 1.2 octal notation by javiereguiluz · Pull Request #13659 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Yaml] Added support for YAML 1.2 octal n 8000 otation #13659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
< 8000 div class="ml-2 hide-sm hide-md">
Diff view
8 changes: 7 additions & 1 deletion components/yaml/yaml_format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,13 @@ Numbers
.. code-block:: yaml

# an octal
014
0o14

.. versionadded:: 5.1

In YAML 1.1, octal numbers used the notation ``0...``, whereas in YAML 1.2
the notation changed to ``0o...``. Symfony 5.1 adds support for YAML 1.2
notation and deprecates support for YAML 1.1 notation.

.. code-block:: yaml

Expand Down
0