summaryrefslogtreecommitdiff
path: root/Zend/tests/bug41401.phpt
blob: 69da880be5b9a869ebbb6622abe5f06a1e10833e (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Bug #41401 (wrong precedence for unary minus)
--FILE--
<?php
echo 1/-2*5;
echo "\n";
echo 6/+2*-3;
?>
--EXPECT--
-2.5
-9