<?php // 应用公共文件 //parseException if(!function_exists("parseException")){ function parseException($e): string { return $e->getFile().':'.$e->getLine().'【'.$e->getMessage().'】'; } }