Beispiel #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());
 }
Beispiel #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>";
 }