Skip to content

Instantly share code, notes, and snippets.

@swallentin
Created March 2, 2012 08:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swallentin/1956731 to your computer and use it in GitHub Desktop.
Save swallentin/1956731 to your computer and use it in GitHub Desktop.
Find out what version of PHP a website is currently running in
<?php
echo 'Current PHP version: ' . phpversion();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment