Can you play online with a PS4 if it was purchased in another country? I am buying it it Japan, and I live in Malaysia.
Yes, you can purchase the Ps4 and use it anywhere.
"In general, neither digital nor disc-based games will be region locked, but PlayStation recommends that all users purchase games at the region of their residence to guarantee the best overall experience and customer service. In certain instances, a software publisher may choose to region lock a game title for specific reasons, but Sony Computer Entertainment expects these instances to be uncommon. Read more at http://www.siliconera.com/2013/10/30/massive-playstation-4-faq-answers-questions/#i4eC4eCJW4cCrfXV.99"