chow to check which php version running wordpress

PHP
<?php phpinfo(); ?>
Source

Also in PHP: