Download Xampp and install it in your local machine. Now open command prompt and open directory where you installed xampp. Example if you installed xampp in C:/xampp folder your command prompt should be like below Now type command it will return current version of php installed with xampp E:\xampp\xampp\php>php -v PHP Warning: PHP Startup: Unable to load dynamic lib Warning: PHP Startup: Unable to load dynamic library E:\xampp\xampp\php>
C:/Xampp/php
php -v
PHP 7.3.27 (cli) (built: Feb 2 2021 20:46:26) ( ZTS
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.27, Copyright (c) 1998-2018 Zend Tec
How to get last day of Month using PHP?
How to Remove White Space from a String in PHP
How to check php version of xampp in windows
How to Concatenate two arrays in PHP?