字符串形式:
//C层
$res = '123456';
view( ' index/index ' , [ 'v' => $value ] ) ;
//V层
原样输出: {$v}
操作: {mb_substr($v,0,3)}
数组形式:
//C层
$res = '123456';
view( ' index/index ' , [ 'v' => $value ] ) ;
//V层
原样输出: {$v}
操作: {mb_substr($v,0,3)}
对象形式: ...