thinkphp6公共方法使用
文章描述:
thinkphp常用的公共方法函数使用
common.php
/**
 * 打印调试函数
 * @param $content
 * @param $is_die
 */
function pre($content, $is_die = true)
{
    header('Content-type: text/html; charset=utf-8');
    echo '<pre>' . print_r($content, true);
    $is_die && die();
}
发布时间:2022/04/25 
                
            
发表评论