Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #35786 Do not rely on the current locale when dumping a Graphvi…
…z object (lyrixx) This PR was merged into the 3.4 branch. Discussion ---------- Do not rely on the current locale when dumping a Graphviz object | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | --- Funny bug ! With `de_DE.UTF-8` as locale: ``` php > echo sprintf('%s', 0.5); 0,5 php > echo sprintf('%d', 0.5); 0 php > echo sprintf('%f', 0.5); 0,500000 php > echo (string) 0.5; 0,5 ``` (so external tools like graphviz could not parse `0,5` - and so skipped the arrow) So now we force `'0.5'` /cc @OskarStark Commits ------- 094e4bb Do not rely on the current locale when dumping a Graphviz object
- Loading branch information