阅读(3375)
赞(4)
Laravel 8 ascii {#collection-method}
2021-07-03 16:54:24 更新
ascii
方法尝试将字符串转换为 ASCII 值:
use IlluminateSupportStr;
$string = Str::of('ü')->ascii();
// 'u'
ascii
方法尝试将字符串转换为 ASCII 值:
use IlluminateSupportStr;
$string = Str::of('ü')->ascii();
// 'u'
Copyright©2023 字节宝| |
违法和不良信息举报电话:|举报邮箱:2283035678@qq.com