phpversion
phpversion — Gets the current PHP version.Description
phpversion( string $extension = ? ): stringReturns a string containing the version of the currently running PHP parser or extension.
Parameters
extension
An optional extension name.
Return Values
If the optional extension parameter is specified, phpversion() returns the version of that extension, or false if there is no version information associated or the extension isn't enabled.More information about phpversion on official PHP documentation site
phpversion - Popular snippets
- PHP 8.1 / MySQL 5.7 printf phpversion printf phpversion
last run:
2024-11-21 09:08:20
939
- PHP 8.1 / MySQL 5.7 printf phpversion printf phpversion
last run:
2023-07-10 13:49:23
661
- PHP 5.6 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:12
198
- PHP 7.4 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:12
197
- PHP 8.1 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:13
194
- PHP 8.0 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:13
193
- PHP 8.2.13 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:13
175
- PHP 8.0 / MySQL 5.7 printf phpversion print_r
last run:
2024-09-26 11:31:52
119
phpversion - New snippets
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-21 05:29:46
2
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-20 14:55:08
1
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-20 14:54:30
1
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-20 14:53:47
1
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-20 14:49:38
1
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-20 14:49:20
1
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-20 14:48:58
1
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-20 14:48:25
1
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-20 14:48:13
1
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-11-20 14:48:02
1