PHP - Laravel 视图模板(blade.php)中使用函数 卡尔特斯 2021-03-24 258 阅读1分钟 如何在 xxx.blade.php 视图模板中使用 php 函数。 {{ PHP函数名() }} 例如输出时间 <div>{{ date('Y-m-d') }}</div>