Ejemplo n.º 1
0
 /**
  * @see ZF-2870
  */
 public function testEscapeFlagShouldBePassedRecursively()
 {
     $items = array('<b>one</b>', array('<b>four</b>', '<b>five</b>', '<b>six</b>', array('<b>two</b>', '<b>three</b>')));
     $list = $this->helper->direct($items, false, false, false);
     $this->assertContains('<ul>', $list);
     $this->assertContains('</ul>', $list);
     $this->markTestSkipped('Wrong array_walk_recursive behavior.');
     array_walk_recursive($items, array($this, 'validateItems'), $list);
 }