<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ### camel_case 把給定的字串轉換成 駝峰式命名。 ~~~ ~~~ $camel = camel_case('foo_bar'); // fooBar ~~~ ~~~ ### class_basename 取得給定類的類名稱,不含任何命名空間的名稱。 ~~~ ~~~ $class = class_basename('Foo\Bar\Baz'); // Baz ~~~ ~~~ ### e 對給定字串執行 htmlentities,并支持 UTF-8。 `$entities = e('<html>foo</html>');` ### ends_with 判斷句子結尾是否有給定的字串。 `$value = ends_with('This is my name', 'name');` ### snake_case 把給定的字串轉換成 蛇形命名。 ~~~ ~~~ $snake = snake_case('fooBar'); // foo_bar ~~~ ~~~ ### str_limit 限制字串的字符數量。 `str_limit($value, $limit = 100, $end = '...')` 例子: ~~~ ~~~ $value = str_limit('The PHP framework for web artisans.', 7); // The PHP... ~~~ ~~~ ### starts_with 判斷句子是否開頭有給定的字串。 `$value = starts_with('This is my name', 'This');` ### str_contains 判斷句子是否有給定的字串。 `$value = str_contains('This is my name', 'my');` ### str_finish 加一個給定字串到句子結尾。多余一個的給定字串則移除。 ~~~ ~~~ $string = str_finish('this/string', '/'); // this/string/ ~~~ ~~~ ### str_is 判斷字串是否符合給定的模式。星號可以用來當作通配符。 `$value = str_is('foo*', 'foobar');` ### str_plural 把字串轉換成它的多數形態 (只有英文)。 `$plural = str_plural('car');` ### str_random 產生給定長度的隨機字串。 `$string = str_random(40);` ### str_singular 把字串轉換成它的單數形態 (只有英文)。 `$singular = str_singular('cars');` ### str_slug 從給定字串產生一個對網址友善的「slug」。 `str_slug($title, $separator);` 例子: ~~~ ~~~ $title = str_slug("Laravel 5 Framework", "-"); // laravel-5-framework ~~~ ~~~ ### studly_case 把給定字串轉換成 首字大寫命名。 ~~~ ~~~ $value = studly_case('foo_bar'); // FooBar ~~~ ~~~ ### trans 翻譯給定的語句。等同 Lang::get。 `$value = trans('validation.required'):` ### trans_choice 隨著詞形變化翻譯給定的語句。等同 Lang::choice。 `$value = trans_choice('foo.bar', $count);`
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看