1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Files
archived-php-src/ext/standard/tests/math/bug30069.phpt

13 lines
168 B
PHP
Executable File

--TEST--
Bug #30069 (floats as strings used in calculations do not work)
--FILE--
<?php
echo ".1" * "2";
echo "\n";
echo "-.1" * "2";
echo "\n";
?>
--EXPECT--
0.2
-0.2