At first I thought that taxing residents' worldwide income was rare among countries but it appears, after some basic research, that this is a fairly common tax policy. Not sure of actual enforcement around the world, but this type of taxation is not out of the ordinary.
Granted, some of the countries only tax foreign income if it is remitted but most places can tax it even if NOT remitted. At least this is what I see based on the following Wikipedia article:
https://en.wikipedia.org/wiki/International_taxation
There you can see pretty much all of Thailand's neighbors have laws on taxing of foreign income although I doubt Cambodia, Laos, Myanmar, Vietnam are able to enforce and collect!