摘要:
<?php function genTree($items,$id='id',$pid='pid',$son = 'children'){ $tree = array(); $tmpMap = array(); foreach ($items as $item) { $tmpMap[$item[$i 阅读全文
摘要:
<?php $a = ''; $b = ""; $c = null; $d = array(); $e = ' '; $f = 0; $g = "0"; var_dump( is_null($a)); var_dump( is_null($b)); var... 阅读全文