public function testDebugDefaultSapi() { $sapi = php_sapi_name(); Debug::setSapi(null); $data = 'string'; $result = Debug::Dump($data, null, false); $this->assertEquals($sapi, Debug::getSapi()); }
public function run() { $this->loader->register(); echo "</br>"; printf("Executing Thread with ZF2 Loaded (%s)\n", Debug::getSapi()); echo "<pre>"; print_r($this->loader); echo "</pre>"; }