We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86310de + 05db8e0 commit 4b3d5b6Copy full SHA for 4b3d5b6
src/Symfony/Component/Yaml/Inline.php
@@ -210,7 +210,7 @@ public static function dump($value, $flags = 0)
210
return 'false';
211
case ctype_digit($value):
212
return \is_string($value) ? "'$value'" : (int) $value;
213
- case is_numeric($value):
+ case is_numeric($value) && false === strpos($value, "\n"):
214
$locale = setlocale(LC_NUMERIC, 0);
215
if (false !== $locale) {
216
setlocale(LC_NUMERIC, 'C');
0 commit comments