xref: /PHP-8.1/Zend/tests/bug41401.phpt (revision 7aacc705)
1--TEST--
2Bug #41401 (wrong precedence for unary minus)
3--FILE--
4<?php
5echo 1/-2*5;
6echo "\n";
7echo 6/+2*-3;
8?>
9--EXPECT--
10-2.5
11-9
12