PHP » PYTHON |
login |
register |
about
|
PYTHON phpversion
is this article helpful?
|
Python replacement for PHP's phpversion
[
edit
| history
]
import sys sys.version phpversion(PHP 4, PHP 5) phpversion — Gets the current PHP version Description
string phpversion
([ string $extension
] )
Returns a string containing the version of the currently running PHP parser or extension. Parameters
Return ValuesIf 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. Examples
Example #1 phpversion() example
<?php
Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|