Esempio n. 1
0
 public function testDebugDefaultSapi()
 {
     $sapi = php_sapi_name();
     Debug::setSapi(null);
     $data = 'string';
     $result = Debug::Dump($data, null, false);
     $this->assertEquals($sapi, Debug::getSapi());
 }
Esempio n. 2
0
 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>";
 }