summaryrefslogtreecommitdiff
path: root/Zend/tests/bug41401.phpt
blob: 50d2109cac4fe04bf8355ac656b1b06531521b42 (plain)
1
2
3
4
5
6
7
8
9
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