Republic Act No. 10158 decriminalized vagrancy. Prior to its enactment, the Revised Penal Code stated:
ARTICLE 202. Vagrants and prostitutes — Penalty. — The following are vagrants:
1. Any person having no apparent means of subsistence, who has the physical ability to work and who neglects to apply himself or herself to some lawful calling;
2. Any person found loitering about public or semi-public buildings or places or tramping or wandering about the country or the streets without visible means of support;
3. Any idle or dissolute person who lodges in houses of ill fame; ruffians or pimps and those who habitually associate with prostitutes;