getBinary() public static method

Appends ' --php' to the path when the runtime is HHVM.
public static getBinary ( ) : string
return string
Example #1
0
 /**
  * @covers JBZoo\Utils\Sys::getBinary
  * @uses   JBZoo\Utils\Sys::isHHVM
  */
 public function testBinaryCanBeRetrieved()
 {
     $this->assertInternalType('string', Sys::getBinary());
 }