|
Lggr
|
Public Member Functions | |
| canCollectCodeCoverage () | |
| discardsComments () | |
| getBinary () | |
| getNameWithVersion () | |
| getName () | |
| getVendorUrl () | |
| getVersion () | |
| hasXdebug () | |
| isHHVM () | |
| isPHP () | |
| isPHPDBG () | |
| hasPHPDBGCodeCoverage () | |
Utility class for HHVM/PHP environment handling.
| SebastianBergmann\Environment\Runtime::canCollectCodeCoverage | ( | ) |
Returns true when Xdebug is supported or the runtime used is PHPDBG.
| SebastianBergmann\Environment\Runtime::discardsComments | ( | ) |
Returns true when OPcache is loaded and opcache.save_comments=0 is set.
Code taken from Doctrine\Common\Annotations\AnnotationReader::__construct().
| SebastianBergmann\Environment\Runtime::getBinary | ( | ) |
Returns the path to the binary of the current runtime. Appends ' –php' to the path when the runtime is HHVM.
| SebastianBergmann\Environment\Runtime::hasPHPDBGCodeCoverage | ( | ) |
Returns true when the runtime used is PHP with the PHPDBG SAPI and the phpdbg_*_oplog() functions are available (PHP >= 7.0).
@codeCoverageIgnore
| SebastianBergmann\Environment\Runtime::hasXdebug | ( | ) |
Returns true when the runtime used is PHP and Xdebug is loaded.
| SebastianBergmann\Environment\Runtime::isHHVM | ( | ) |
Returns true when the runtime used is HHVM.
| SebastianBergmann\Environment\Runtime::isPHP | ( | ) |
Returns true when the runtime used is PHP without the PHPDBG SAPI.
| SebastianBergmann\Environment\Runtime::isPHPDBG | ( | ) |
Returns true when the runtime used is PHP with the PHPDBG SAPI.
1.8.17