Ejemplo n.º 1
0
 /**
  * Tests environment info.
  *
  * @return void
  */
 public function test_environment_info()
 {
     $this->resetAfterTest();
     $envinfo = MHUtil::get_environment_info();
     $this->assertEquals(true, !empty($envinfo->phpversion));
 }
Ejemplo n.º 2
0
 /**
  * Allows external applications to retrieve the environment info.
  *
  * @return
  */
 public static function get_environment_info()
 {
     // Get the environment info.
     $result = MHUtil::get_environment_info();
     return $result;
 }