diff options
author | Stanislav Malyshev <stas@php.net> | 2007-05-18 20:13:28 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2007-05-18 20:13:28 +0000 |
commit | cfedafff67b6edae0370717705550b75e2cb5a3c (patch) | |
tree | d9fc844fc399295fbc00a04f9d471165f773da3a | |
parent | bc2b546dcc3c34ab98706db07c0d23740ea606e0 (diff) | |
download | php-git-cfedafff67b6edae0370717705550b75e2cb5a3c.tar.gz |
add test for 41401
-rwxr-xr-x | Zend/tests/bug41401.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Zend/tests/bug41401.phpt b/Zend/tests/bug41401.phpt new file mode 100755 index 0000000000..50d2109cac --- /dev/null +++ b/Zend/tests/bug41401.phpt @@ -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
\ No newline at end of file |