diff options
-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 |