public function Runtime::getVersion in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/environment/src/Runtime.php \SebastianBergmann\Environment\Runtime::getVersion()
Return value
string
1 call to Runtime::getVersion()
- Runtime::getNameWithVersion in vendor/
sebastian/ environment/ src/ Runtime.php
File
- vendor/
sebastian/ environment/ src/ Runtime.php, line 133
Class
- Runtime
- Utility class for HHVM/PHP environment handling.
Namespace
SebastianBergmann\EnvironmentCode
public function getVersion() {
if ($this
->isHHVM()) {
return HHVM_VERSION;
}
else {
return PHP_VERSION;
}
}