將字串的字母全部轉為 小寫 並返回該字串。
strtolower ( st ring $string ) : string
Example:
$test1 = "APPLE and banana";
print_r(strtolower($test1));
$test2 = "2. APPLE and Banana";
print_r(strtolower($test2));
$test3 = 123;
print_r(strtolower($test3));
Output:
// strtolower($test1):
apple and banana
// strtolower($test2):
2. apple and banana
// strtolower($test3):
123
Laravel8+Vue3+Bootstrap5實作TODO List ep09:安裝bootstrap5並美化todo list畫面
Laravel8+Vue3+Bootstrap5實作TODO List ep07:安裝vue3跟基本設定
Laravel8+Vue3+Bootstrap5實作TODO List ep08:用vue重新製作todo list畫面
Laravel8+Vue3+Bootstrap5實作TODO List ep06:初步認識Web Route
Laravel8+Vue3+Bootstrap5實作TODO List ep05:製作新增、更新、刪除待辦事項的API