PHP attributes()函数讲解 PHPattributes()函数实例返回XML的body元素的属性和值:<?php$note=<<<XML<note><to&g attributes()函数