mirror of
https://github.com/php/php-src.git
synced 2024-09-30 14:26:12 +00:00
6d8760677d
- altered EXPECT for parser errors. This may or may not be a Good Thing.
11 lines
127 B
PHP
Executable File
11 lines
127 B
PHP
Executable File
--TEST--
|
|
Bug #41401 (wrong precedence for unary minus)
|
|
--FILE--
|
|
<?php
|
|
echo 1/-2*5;
|
|
echo "\n";
|
|
echo 6/+2*-3;
|
|
--EXPECT--
|
|
-2.5
|
|
-9
|