Philippine President Ferdinand E. Marcos said last night that his government is considering breaking all military ties with the United States.

In a speech to the Law Alumni Association of the University of the Philippines, marcos said that it might be time for the Philippines to grow up and cease "being dominated" by the United States.

The statement was the strongest Marcos has ever made on the question of the two U.S. military bases in the Philippines. it represents a distinct departure from his previous stand that the bases are a stabilizing factor in the western Pacific balance of power, and that they would be allowed to stay as long as the United States paid rent for the land and base authorities respected Philippine jurisdiction.

Diplomatic observers here said they doubt that the new Philippine position is anything more than a bargaining tactic in negotiations for a new treaty with the United States covering the bases. Treaty negotiations faltered early last month when the two countries disagreed over a final Ford administration proposal.

In addition to references to the negotiations problem, Marcos also said the government and the Filipino people had been "insulted" by recent State Department reports that his martial law administration violates the human rights of Philippine citizens.

Marcos called a recently released State Department report on the violations to the House International Affairs Committee a "particularly offensive document," and said the government denied "in the strongest possible terms, with outrage, the cavalier reference to the alleged torture and inhuman treatment of political prisoners (here)."

Defining a political prisoner as one who is detained without charges being filed against him, Marcos said: "We have no political prisoners in the Philippines." Other sources indicate, however, that there are an estimated 5,000 persons in detention for political reasons in the Philippines, and that only a few hundred of them have been charged with anything.

The State Department report, outlining human rights violations in six countries, was mandated by an amendment to last year's foreign aid bill that required that the House be furnished with information on such abuses in any country receiving U.S. aid.

Marcos said the fact that such a document was issued despite the military agreements between the two countries - a mutual defense pact, a military assistance pact and the bases agreement - "makes more extreme the insult and offense against the Filipino people and the government of the Philippines."

Clark Air Base and Subic Bay Naval Base, the last two major U.S. military installations in Southeast Asia, with about 15,000 U.S. military personnel, occupy more than 170,000 acres in the philippines.

Negotiations on a new treaty covering the bases have been at a standstill since early December, when Philippine Foreign Decretary Carlos P. Romulo and U.S. Secretary of State Henry A. kissinger disagreed on whether the Phillipines had accepted a deal of $1 billion in aid over five years for continued use of the bases.

Diplomatic sources here believe that the deal had nbeen accepted by the Philippines, but that Marcos ordered Romulo to repudiate it at the last minute. In answer to a reporter's question on the issue, Marcos recently said he had not authorized his foreign secretary to make any agreement with Kissinger, and indicated that he felt Romulo had exceeded his authority.

Marcos said last night he has appointed a committee to study all aspects of U.S. Philippine military relations and to determine "whether these bases do in fact provide us effective protection or whether they only increase the danger ot our country because of the provocation the bases . . . represent (to others)."

"If they stay at all," Marcos said of the basesM "they stay in facilities . . . that are necessary for the defense of the Philippines."

By allowing the bases to stay, Marcos clearly indicated in last night's speech, he gives up one of his main foreign-policy objectives - gaining admittance into the nonaligned movement and respectability as a Third World power.