1--TEST--
2bccomp() with negative value
3--EXTENSIONS--
4bcmath
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9echo bccomp("-2", "-2")."\n";
10echo bccomp("-2", "2", "1")."\n";
11echo bccomp("-2.29", "-2.3", "2")."\n";
12echo bccomp("-2.29", "2.3", "2")."\n";
13echo bccomp("2.29", "-2.3", "2")."\n";
14echo bccomp("-2.29", "-2.3", "1");
15?>
16--EXPECT--
170
18-1
191
20-1
211
221
23