phpversion
reactphp/promise
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Gets the current PHP version
<?php phpversion
(?
string $extension
=
null
):
string
|
false