Checkout this video:
What is PHP?
PHP is a programming language used to create dynamic content that interacts with databases. It is widely-used and well-known, especially for creating server-side scripts.
You can also use the print statement:
Another way is to use the json_encode function:
Finally, you can use the session object: