Don't get caught in China without the correct visa. Eg you can get a visa on arrival for the Shenzhen special economic zone, with some countries passports, when you arrive by train or ferry from Hong Kong. However the airport is outside the zone and you would have problems trying to leave by air.