
PHP
techgfuture
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
php xml 转换数组
public static function xmlStr2Array($str) { $result = null; if(is_string($str)) { try { $xml = simplexml_load_string($str); $resul原创 2014-09-22 11:32:55 · 427 阅读 · 0 评论 -
php 形参 限定类型
php没有别的限定类型了,诸如string、integer这样的限定类型是没有的,只有数组和对象两种限定类型。转载 2014-09-12 16:34:44 · 436 阅读 · 0 评论 -
php xml 转换 数组
class XmlUtils { public static function xmlStr2Array($str) { $sxe = new SimpleXMLElement($str); $utils = new XmlUtils(); return $utils->xml2Array($sxe); }原创 2014-09-12 16:56:48 · 394 阅读 · 0 评论