--TEST-- SimpleXML: cast to array --SKIPIF-- --FILE--

Blah 1

Blah 2

Blah 3

Blah 4
'; $foo = simplexml_load_string($string); $p = $foo->bar->p; echo count($p); $p = (array)$foo->bar->p; echo count($p); ?> --EXPECT-- 33