how to check php version a script is written in code example Example: php get version echo PHP_VERSION;