I'm a PHP Developer by profession and I've never used Node.js in my life.
But I know that Node.js is a cross-platform JavaScript runtime environment that allows developers to build server-side and network applications with JavaScript.
The above statement created one query in my mind that like Node.js is there any runtime environment exist for the server-side programming language PHP?
I've never heard that PHP also has a runtime environment which I always hear in case of Javascript which has Node.js as a runtime environment to build server-side web applications.
Someone please clear my doubt in case of runtime environment for PHP. If it's present where it is and what it comprises of? If not, then explain how does PHP allow to build server-side applications without having a runtime environment?
Following is my current setup for PHP :
I'm using PHP 7.4.2 on my laptop that runs on Windows 10 Home Single Language 64-bit operating system.
I've installed the latest version of XAMPP installer on my laptop which has installed the Apache/2.4.41 (Win64) and PHP 7.4.2