xref: /PHP-7.4/ext/standard/tests/math/bug30069.phpt (revision 610c7fbe)
1--TEST--
2Bug #30069 (floats as strings used in calculations do not work)
3--FILE--
4<?php
5echo ".1" * "2";
6echo "\n";
7echo "-.1" * "2";
8echo "\n";
9?>
10--EXPECT--
110.2
12-0.2
13