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") . "\n"; 15echo bccomp("-2.29", "0", "1") . "\n"; 16?> 17--EXPECT-- 180 19-1 201 21-1 221 231 24-1 25