isRealPHP() public static method

Returns true when the runtime used is PHP without the PHPDBG SAPI.
public static isRealPHP ( ) : boolean
return boolean
Exemplo n.º 1
0
 /**
  * @covers JBZoo\Utils\Sys::isRealPHP
  * @uses   JBZoo\Utils\Sys::isHHVM
  */
 public function testCanBeDetected2()
 {
     $this->assertInternalType('boolean', Sys::isRealPHP());
 }