--TEST-- BcMath\Number add() with scale --EXTENSIONS-- bcmath --FILE-- add($value2, $scale); if ($method_ret->compare($func_ret) !== 0) { echo "Result is incorrect.\n"; var_dump($value1, $value2, $scale, $func_ret, $method_ret); } } } } echo 'done!'; ?> --EXPECT-- done!