示例#1
0
 function testDumpReturnArrayWithMarks()
 {
     $benchmark = new Benchmark();
     $a = $benchmark->add_mark("Start test");
     $b = $benchmark->remove_mark($a);
     $c = $benchmark->dump();
     $this->assertIsA($c, array());
 }