|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-10-17 13:14 UTC] nlopess@php.net
[2020-02-07 06:11 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 16 23:00:01 2025 UTC |
Description: ------------ phpversion() has had an optional parameter since really early versions of php, and can be used to retrieve the version of a loaded extension <?php echo phpversion() . "\n"; echo phpversion('mysql') . "\n"; echo phpversion('xmlrpc') . "\n"; ?> Note that it will return false for extensions that have no versioning information like mysql