摘要: <?php function getMillisecond() { $time = explode ( " ", microtime ()); $time = $time[1] . ($time[0] * 1000); $time2 = explode( ".", $time ); $time = $time2[0]; return $time; } ... 阅读全文
posted @ 2017-11-14 17:03 spectrelb 阅读(473) 评论(0) 推荐(0) 编辑
摘要: getConstants(); return $constants; } } var_dump(Test::all()); //打印结果如下: //array (size=6) // 'A' => string '1' (length=1) // 'B' => string '2' (length=1) // 'C' => string '3' (length=1... 阅读全文
posted @ 2017-11-14 16:43 spectrelb 阅读(365) 评论(0) 推荐(0) 编辑