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