I wondered what is the purpose of the days that are stamped in your passport (by the immigration) when you visit a foreign country. Like when we visited Singapore, a Filipino can stay in the country for at least 30 days.
Apparently, those are restrictions. When you stayed in a foreign country beyond those indicated days in your passport, you will be required to secure a visa.
If you are planning to visit Hongkong and you are a Filipino, you can enjoy a 14-day visa-free vacation. Some nationals of certain countries are exempted, while others have restricted days of stay. For more info, go to Visit Visa / Entry Permit Requirements for the Hong Kong Special Administrative Region.