xref: /PHP-8.1/ext/standard/tests/math/bug62112.phpt (revision ea256a21)
1--TEST--
2Bug #62112: number_format() is not binary safe
3--FILE--
4<?php
5var_dump(number_format(2.5, 2, "\0", "'"));
6?>
7--EXPECTF--
8string(4) "2%050"
9