add test for 41401

This commit is contained in:
Stanislav Malyshev 2007-05-18 20:13:28 +00:00
parent bc2b546dcc
commit cfedafff67

10
Zend/tests/bug41401.phpt Executable file
View file

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