8000 minor #13659 [Yaml] Added support for YAML 1.2 octal notation (javier… · symfony/symfony-docs@aea6960 · GitHub
[go: up one dir, main page]

Skip to content

Commit aea6960

Browse files
committed
minor #13659 [Yaml] Added support for YAML 1.2 octal notation (javiereguiluz)
This PR was merged into the master branch. Discussion ---------- [Yaml] Added support for YAML 1.2 octal notation Fixes #13630. Commits ------- 4cac282 [Yaml] Added support for YAML 1.2 octal notation
2 parents af24efa + 4cac282 commit aea6960

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

components/yaml/yaml_format.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,13 @@ Numbers
122122
.. code-block:: yaml
123123< 7AC8 code class="diff-text syntax-highlighted-line">
124124
# an octal
125-
014
125+
0o14
126+
127+
.. versionadded:: 5.1
128+
129+
In YAML 1.1, octal numbers used the notation ``0...``, whereas in YAML 1.2
130+
the notation changed to ``0o...``. Symfony 5.1 adds support for YAML 1.2
131+
notation and deprecates support for YAML 1.1 notation.
126132

127133
.. code-block:: yaml
128134

0 commit comments

Comments
 (0)
0