php-src/Zend/tests/bug41401.phpt
2012-10-10 10:27:49 +08:00

10 lines
126 B
PHP

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