Skip to content

Commit

Permalink
Drop non-well numeric string in Intl test
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Jun 28, 2020
1 parent a9625f8 commit 892b32d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ext/intl/tests/bug53735.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ var_dump(numfmt_format($fmt, 5.5));
setlocale(LC_ALL, "da_DK.UTF-8");

var_dump(numfmt_format($fmt, 5.5));
var_dump(numfmt_format($fmt, "5,5"));


$fmt = new \NumberFormatter("de_DE", \NumberFormatter::DECIMAL);
Expand All @@ -25,8 +24,5 @@ var_dump($f->format(0.26));
--EXPECTF--
string(%d) "5,50 kr%A"
string(%d) "5,50 kr%A"

Notice: A non well formed numeric value encountered in %s on line %d
string(%d) "5,00 kr%A"
string(5) "23,25"
string(3) "26%"

0 comments on commit 892b32d

Please sign in to comment.