¶1The sole issue presented here, as in the trial court, is the constitutionality of the prostitution statute under which defendant was convicted. Three specific issues are presented in this challenge. They are:
¶21. Is the defendant limited to challenging only the section under which she was charged or can the entire statute be attacked?
¶32. What is the standard of review?
¶43. Applying this standard, is the statute in question constitutional ?
¶5Challenge to entire statute.
¶6Here the defendant was charged only under sub. (1) of sec. 944.30, Stats., and not under sub. (2). Sub. (1) refers to offering or having nonmarital sexual intercourse for any thing of value
¶7In Stale v. I, A Woman — Part II
¶8We conclude that the defendant can challenge the entire statute and not just the section under which she was charged because it is argued that the statute appears facially unconstitutional and if the constitutional attack is successful the entire statute would be void. The feature which is challenged pervades the entire statute and the subsections are not separable. The criticism of the statute is that the law denies the defendant equal protection by making it a crime for a female to offer to have nonmarital sexual intercourse for a thing of value, whereas this statute does not make it a crime for a male to make a similar offer.
¶9Standard of review.
¶10Defense counsel has not questioned that the burden was on the defendant, as one who challenges the statute, to *417show that the classification involved lacks a reasonable relationship to a legitimate state interest and is, therefore, essentially arbitrary. Defendant did not in the trial court or on this appeal assert that sex was a suspect classification and we therefore do not reach that question.
¶11The tests to be applied in determining whether there has been a reasonable legislative classification have been recently stated in State ex rel. Hammermill Paper Co. v. La Plante.
“ ‘Equal protection of the law is denied only where the legislature has made irrational or arbitrary classifications. Town of Vanden Broek v. Reitz (1971), 53 Wis. 2d 87, 191 N. W. 2d 913; State ex rel. Johnson v. Cady (1971), 50 Wis. 2d 540, 185 N. W. 2d 306; State ex rel. Schopf v. Schubert (1970), 45 Wis. 2d 644, 173 N. W. 2d 673. The test is not whether some inequality results from the classification, Lindsley v. Natural Carbonic Gas Co. (1911), 220 U. S. 61, 31 Sup. Ct. 337, 55 L. Ed. 369, but whether there exists any reasonable basis to justify the classification. McGowan v. Maryland (1961), 366 U. S. 420, 81 Sup. Ct. 1101, 6 L. Ed. 2d 393. . . .’
¶12In Cayo v. Milwaukee (1969), 41 Wis. 2d 643, 649, 650, 165 N. W. 2d 198, 167 N. W. 2d 407, the rules governing proper legislative classification were delineated:
“ ‘The standards for proper classification within an ordinance were established by this court in State ex rel. Ford Hopkins Co. v. Mayor. They are:
““‘(1) All classification must be based upon substantial distinctions which make one class really different from another.
“ (2) The classification adopted must be germane to the purpose of the law.
““‘(3) The classification must not be based upon existing circumstances only. [The following sentence was added to No. 3 by State ex rel. Risch v. Trustees: ‘It must not be so constituted as to preclude addition to the numbers included within a class.’]
*418«<«(4) rp0 whatever ciagg a ]aw may apply, it must apply equally to each member thereof.
". . .
“ ““(5) That the characteristics of each class should be so far different from those of other classes as to reasonably suggest at least the propriety, having regard to the public good, of substantially different legislation.’ ” ’
“‘However, “[b]efore appellant can avail himself of these rules to challenge any distinctions” between legislative classifications, he “must overcome a presumption that the classifications are reasonable and proper.” ’
“ ‘In Kiley v. Chicago, M., & St. P. Ry. [(1910), 142 Wis. 154, 125 N. W. 464], this court stated:
“ ‘ “. . . the question whether there is room or necessity for classification is one resting primarily with the legislature, and no court is justified in declaring classification baseless unless it can say without doubt that no one could reasonably conclude that there is any substantial difference justifying different legislative treatment.” ’
“ ‘Thus the burden is on the appellant to show that there is no basis for the classifications ....’” ;
¶13The statute is constitutional.
¶14Since 1858 the statute in question has made it. illegal for females to have or make an offer to have nonmarital sexual intercourse for a thing of value.
¶15This classification has been considered by the Indiana Supreme Court to be a natural and reasonable one in the recent case of Wilson v. State,
¶16This court has previously held that sex can be a proper classification.
¶17*419The defendant did not meet her burden of showing this classification established by sec. 944.30, Stats., to be unreasonable and the record is completely devoid of any showing to that effect. Neither has defendant demonstrated any discriminatory enforcement as between the citation of females for the violation of sec. 944.30 (1) and the enforcement of similar offenses by male prostitutes under secs. 939.30 and 939.31.
¶18Orders affirmed.
¶19 “944.30 Prostitution. Any female who intentionally does any of the following may be fined not more than $500 or imprisoned not more than one year or both:
“(1) Has or offers to have nonmarital sexual intercourse for any thing of value; or . ...” '
¶20 “(2) Commits or offers to commit an act of sexual perversion for any thing of value; . . .”
¶21(1971), 53 Wis. 2d 102, 191 N. W. 2d 897.
¶22 (1973), 58 Wis. 2d 32, 74, 75, 205 N. W. 2d 784.
¶23 (1972), 54 Wis. 2d 61, 65, 66, 194 N. W. 2d 624.
¶24 (1969), 41 Wis. 2d 643, 649, 650, 165 N. W. 2d 198, 167 N. W. 2d 407.
¶25(Ind. 1972), 278 N. E. 2d 569.
¶27Peterson v. Widule (1914), 157 Wis. 641, 147 N. W. 966.