PHP is one of the most popular scripting languages, working on the server-side. JavaScript is a high-level, dynamic, interpreted language used with HTML web applications.
The main difference between the two is that React Native is a framework, while ReactJS is considered a Javascript library that you can use in the development of your website.