
---- EXPECTED OUTPUT
attb-1
attb-2
e: (refcount=1, is_ref=0)=class SimpleXMLElement { public $@attributes = (refcount=1, is_ref=0)=array ('att1' => (refcount=1, is_ref=0)='att-a'); public $b = (refcount=1, is_ref=0)=array (0 => (refcount=1, is_ref=0)=class SimpleXMLElement { ... }, 1 => (refcount=1, is_ref=0)=class SimpleXMLElement { ... }) }
e->@attributes: (refcount=%d, is_ref=0)=array ('att1' => (refcount=1, is_ref=0)='att-a')
e->@attributes["att1"]: (refcount=%d, is_ref=0)='att-a'
e->b[0]->@attributes: (refcount=%d, is_ref=0)=array ('attb' => (refcount=1, is_ref=0)='attb-1')
e->b[1]->@attributes["attb"]: (refcount=%d, is_ref=0)='attb-2'
---- ACTUAL OUTPUT
Warning: Module "redis" is already loaded in Unknown on line 0
attb-1
attb-2

Fatal error: Uncaught Error: Call to undefined function xdebug_debug_zval() in /home/ezekiahf/public_html/demo/xdebug/tests/base/bug01272-002.php:4
Stack trace:
#0 {main}
  thrown in /home/ezekiahf/public_html/demo/xdebug/tests/base/bug01272-002.php on line 4
---- FAILED
