![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: DOMAttr read $name property. ! 3: --CREDITS-- ! 4: Nic Rosental <nicrosental@gmail.com> ! 5: # TestFest Atlanta 2009-05-14 ! 6: --SKIPIF-- ! 7: <?php require_once('skipif.inc'); ?> ! 8: --FILE-- ! 9: <?php ! 10: $attr = new DOMAttr('category', 'books'); ! 11: print $attr->name; ! 12: ?> ! 13: --EXPECT-- ! 14: category