<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智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## 內部(內置)函數 PHP 有很多標準的函數和結構。還有一些函數需要和特定地 PHP 擴展模塊一起編譯,否則在使用它們的時候就會得到一個致命的“未定義函數”錯誤。例如,要使用 [image](http://php.net/manual/zh/ref.image.php) 函數中的 [imagecreatetruecolor()](http://php.net/manual/zh/function.imagecreatetruecolor.php),需要在編譯 PHP 的時候加上 GD 的支持。或者,要使用 [mysql\_connect()](http://php.net/manual/zh/function.mysql-connect.php) 函數,就需要在編譯 PHP 的時候加上 [MySQL](http://php.net/manual/zh/ref.mysql.php) 支持。有很多核心函數已包含在每個版本的 PHP 中如[字符串](http://php.net/manual/zh/ref.strings.php)和[變量](http://php.net/manual/zh/ref.var.php)函數。調用 [phpinfo()](http://php.net/manual/zh/function.phpinfo.php) 或者 [get\_loaded\_extensions()](http://php.net/manual/zh/function.get-loaded-extensions.php) 可以得知 PHP 加載了那些擴展庫。同時還應該注意,很多擴展庫默認就是有效的。PHP 手冊按照不同的擴展庫組織了它們的文檔。請參閱[配置](http://php.net/manual/zh/configuration.php),[安裝](http://php.net/manual/zh/install.php)以及各自的擴展庫章節以獲取有關如何設置 PHP 的信息。 手冊中[如何閱讀函數原型](http://php.net/manual/zh/about.prototypes.php)講解了如何閱讀和理解一個函數的原型。確認一個函數將返回什么,或者函數是否直接作用于傳遞的參數是很重要的。例如,[str\_replace()](http://php.net/manual/zh/function.str-replace.php) 函數將返回修改過的字符串,而 [usort()](http://php.net/manual/zh/function.usort.php) 卻直接作用于傳遞的參數變量本身。手冊中,每一個函數的頁面中都有關于函數參數、行為改變、成功與否的返回值以及使用條件等信息。了解這些重要的(常常是細微的)差別是編寫正確的 PHP 代碼的關鍵。 > **Note**: 如果傳遞給函數的參數類型與實際的類型不一致,例如將一個 [array](http://php.net/manual/zh/language.types.array.php) 傳遞給一個 [string](http://php.net/manual/zh/language.types.string.php) 類型的變量,那么函數的返回值是不確定的。在這種情況下,通常函數會返回 **`NULL`**。但這僅僅是一個慣例,并不一定如此。 參見 [function\_exists()](http://php.net/manual/zh/function.function-exists.php),[函數參考](http://php.net/manual/zh/funcref.php),[get\_extension\_funcs()](http://php.net/manual/zh/function.get-extension-funcs.php) 和 [dl()](http://php.net/manual/zh/function.dl.php)。
                  <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>

                              哎呀哎呀视频在线观看