php-src/Zend/tests/bug41401.phpt
Stanislav Malyshev cfedafff67 add test for 41401
2007-05-18 20:13:28 +00:00

10 lines
126 B
PHP
Executable File

--TEST--
Bug #41401 (wrong precedence for unary minus)
--FILE--
<?php
echo 1/-2*5;
echo "\n";
echo 6/+2*-3;
--EXPECT--
-2.5
-9