<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>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                這些函數允許你獲得許多關于PHP本身的參數,例如:運行時的配置,被加載的擴展,版本等。 你也將找到設置你的運行中的PHP的選項的函數。可能最好用的 PHP- 函數[phpinfo()](https://www.php.net/manual/zh/function.phpinfo.php)可以在這里找到 ## **運行時配置** **PHP 選項/Inf 配置選項** | 名字 | 默認 | 可修改范圍 | 更新日志 |描述| | --- | --- | --- | --- | --- | | [assert.active](https://www.php.net/manual/zh/info.configuration.php#ini.assert.active) | "1" | PHP\_INI\_ALL | ? |激活[assert()](https://www.php.net/manual/zh/function.assert.php)斷言評測| | [assert.bail](https://www.php.net/manual/zh/info.configuration.php#ini.assert.bail) | "0" | PHP\_INI\_ALL | ? |失敗的斷言將中止腳本| | [assert.warning](https://www.php.net/manual/zh/info.configuration.php#ini.assert.warning) | "1" | PHP\_INI\_ALL | ? |為每個失敗的斷言產生一條 PHP 警告信息| | [assert.callback](https://www.php.net/manual/zh/info.configuration.php#ini.assert.callback) | NULL | PHP\_INI\_ALL | ? |失敗的斷言將調用用戶的函數| | [assert.quiet\_eval](https://www.php.net/manual/zh/info.configuration.php#ini.assert.quiet-eval) | "0" | PHP\_INI\_ALL | ? |在 斷言表達式執行時[error\_reporting()](https://www.php.net/manual/zh/function.error-reporting.php)使用當前的設置。 如果啟用了,在執行時錯誤將不會被顯示(隱式的 error\_reporting(0))。 如果禁用了,錯誤將根據[error\_reporting()](https://www.php.net/manual/zh/function.error-reporting.php)的設置來顯示| | [assert.exception](https://www.php.net/manual/zh/info.configuration.php#ini.assert.exception) | "0" | PHP\_INI\_ALL | Available since PHP 7.0.0. |在斷言(assert)失敗時產生**AssertionError**異常。| | [enable\_dl](https://www.php.net/manual/zh/info.configuration.php#ini.enable-dl) | "1" | PHP\_INI\_SYSTEM | 本過時特性*將*肯定會在未來被*移除*。 |該指令僅對 Apache 模塊版本的 PHP 有效。 你可以針對每個虛擬機或每個目錄開啟或關閉[dl()](https://www.php.net/manual/zh/function.dl.php)動態加載 PHP 模塊。| | [max\_execution\_time](https://www.php.net/manual/zh/info.configuration.php#ini.max-execution-time) | "30" | PHP\_INI\_ALL | ? |這設置了腳本被解析器中止之前允許的最大執行時間,單位秒。 這有助于防止寫得不好的腳本占盡服務器資源。 默認設置為*30*。 從[命令行](https://www.php.net/manual/zh/features.commandline.php)運行 PHP 時,默認設置為*0*<br>最大執行時間不會影響系統調用和系統操作等。更多細節參見[set\_time\_limit()](https://www.php.net/manual/zh/function.set-time-limit.php)。<br>在[安全模式](https://www.php.net/manual/zh/ini.sect.safe-mode.php#ini.safe-mode)下你不能通過[ini\_set()](https://www.php.net/manual/zh/function.ini-set.php)來修改此設置。 唯一的解決方法是關閉安全模式或者在php.ini中修改時間限制。<br>你的 web 服務器也可以有其他超時設置,也有可能中斷 PHP 的執行。 Apache 有一個*Timeout*指令,IIS 有一個 CGI 超時功能。 他們默認都是 300 秒。更多具體信息參見你的 web 服務器的文檔。| | [max\_input\_time](https://www.php.net/manual/zh/info.configuration.php#ini.max-input-time) | "-1" | PHP\_INI\_PERDIR | 自 PHP 4.3.0 起有效。 |腳本解析輸入數據(類似 POST 和 GET)允許的最大時間,單位是秒。 它從接收所有數據到開始執行腳本進行測量的| | [max\_input\_nesting\_level](https://www.php.net/manual/zh/info.configuration.php#ini.max-input-nesting-level) | "64" | PHP\_INI\_PERDIR | 自 PHP 4.4.8 and PHP 5.2.3 起有效。 |設置[輸入變量](https://www.php.net/manual/zh/language.variables.external.php)的嵌套深度 (例如[$\_GET](https://www.php.net/manual/zh/reserved.variables.get.php),[$\_POST](https://www.php.net/manual/zh/reserved.variables.post.php)……)| | [max\_input\_vars](https://www.php.net/manual/zh/info.configuration.php#ini.max-input-vars) | 1000 | PHP\_INI\_PERDIR | 自 PHP 5.3.9 起有效。 |接受多少[輸入的變量](https://www.php.net/manual/zh/language.variables.external.php)(限制分別應用于 $\_GET、$\_POST 和 $\_COOKIE 超全局變量) 指令的使用減輕了以哈希碰撞來進行拒絕服務攻擊的可能性。 如有超過指令指定數量的輸入變量,將會導致**`E_WARNING`**的產生, 更多的輸入變量將會從請求中截斷| | [magic\_quotes\_gpc](https://www.php.net/manual/zh/info.configuration.php#ini.magic-quotes-gpc) | "1" | PHP\_INI\_PERDIR | 在 PHP <= 4.2.3 是 PHP\_INI\_ALL,在 PHP 5.4.0 中被移除。 |當 magic\_quotes 為 on,所有的 ' (單引號)、" (雙引號)、\\(反斜杠)和 NUL's 被一個反斜杠自動轉義| | [magic\_quotes\_runtime](https://www.php.net/manual/zh/info.configuration.php#ini.magic-quotes-runtime) | "0" | PHP\_INI\_ALL | 在 PHP 5.4.0 中移除 |如果啟用了`magic_quotes_runtime`,大多數返回任何形式外部數據的函數,包括數據庫和文本段將會用反斜線轉義引號。 如果啟用了[magic\_quotes\_sybase](https://www.php.net/manual/zh/sybase.configuration.php#ini.magic-quotes-sybase),單引號會被單引號轉義而不是反斜線| | [zend.enable\_gc](https://www.php.net/manual/zh/info.configuration.php#ini.zend.enable-gc) | "1" | PHP\_INI\_ALL | 自 PHP 5.3.0 起有效。 |啟用或禁用循環引用記數搜集器| # 預定義常量 **[phpinfo()](https://www.php.net/manual/zh/function.phpinfo.php)常量** | 常量 | 值 | 描述 | | --- | --- | --- | | **`INFO_GENERAL`** | 1 | 配置行,php.ini的位置、構建日期,Web 服務器、操作系統及其他。 | | **`INFO_CREDITS`** | 2 | PHP 貢獻者。參見[phpcredits()](https://www.php.net/manual/zh/function.phpcredits.php)。 | | **`INFO_CONFIGURATION`** | 4 | 當前 PHP 指令的本地(Local)和主(Master)值。參見[ini\_get()](https://www.php.net/manual/zh/function.ini-get.php)。 | | **`INFO_MODULES`** | 8 | 已加載的模塊和各自的設置。 | | **`INFO_ENVIRONMENT`** | 16 | 環境變量信息在[$\_ENV](https://www.php.net/manual/zh/reserved.variables.environment.php)中亦有效。 | | **`INFO_VARIABLES`** | 32 | 顯示所有*EGPCS*(環境變量、GET、POST、Cookie、Server)中的[預定義變量](https://www.php.net/manual/zh/language.variables.predefined.php)。 | | **`INFO_LICENSE`** | 64 | PHP 版權信息。參見[??license faq](https://www.php.net/license/)。 | | **`INFO_ALL`** | \-1 | 顯示以上所有。這是默認值。 | **INI 常量** | 常量 | 值 | 描述 | | --- | --- | --- | | *INI\_USER* | 1 | Unused | | *INI\_PERDIR* | 2 | Unused | | *INI\_SYSTEM* | 4 | Unused | | *INI\_ALL* | 7 | Unused | 斷言常量,這些值用于設置[assert\_options()](https://www.php.net/manual/zh/function.assert-options.php)中的斷言標記 。 **[assert()](https://www.php.net/manual/zh/function.assert.php)常量** | 常量 | INI 設置 | 描述 | | --- | --- | --- | | **`ASSERT_ACTIVE`** | assert.active | 啟用[assert()](https://www.php.net/manual/zh/function.assert.php)。 | | **`ASSERT_CALLBACK`** | assert.callback | 失敗斷言的回調函數。 | | **`ASSERT_BAIL`** | assert.bail | 斷言失敗時中止執行。 | | **`ASSERT_WARNING`** | assert.warning | 為每個失敗的斷言產生一條 PHP 警告。 | | **`ASSERT_QUIET_EVAL`** | assert.quiet\_eval | 在執行斷言表達式時禁用*error\_reporting*。 | 以下常量僅在主機操作系統是 Windows的情況下有效,能得到不同版本信息,能夠檢測利用一些功能。 自 PHP 5.3.0 起有效。 **Windows 特定常量** | 常量 | 描述 | | --- | --- | | **`PHP_WINDOWS_VERSION_MAJOR`** | windows 主版本,可以是*4*(NT4/Me/98/95)、*5*(XP/2003 R2/2003/2000) 或*6*(Vista/2008/7/8/8.1)。 | | **`PHP_WINDOWS_VERSION_MINOR`** | Windows 副版本號,可以是*0*(Vista/2008/2000/NT4/95)、*1*(XP)、*2*(2003 R2/2003/XP x64)、*10*(98) 或*90*(ME)。 | | **`PHP_WINDOWS_VERSION_BUILD`** | Windows 內部版本號(例如 Windows Vista SP1 是 build 6001) | | **`PHP_WINDOWS_VERSION_PLATFORM`** | PHP 當前運行的平臺, Windows Vista/XP/2000/NT4、Server 2008/2003 的值是*2*, Windows ME/98/95 下值是*1*。 | | **`PHP_WINDOWS_VERSION_SP_MAJOR`** | 安裝的 service pack 主版本號,沒有安裝是*0*。 例如, Windows XP service pack 3 上這個值是*3*。 | | **`PHP_WINDOWS_VERSION_SP_MINOR`** | 安裝的 service pack 副版本號,如果沒有安裝則是*0*。 | | **`PHP_WINDOWS_VERSION_SUITEMASK`** | The suitemask is a bitmask that can tell if various features of Windows is installed, see the table below for possible bitfield values. | | **`PHP_WINDOWS_VERSION_PRODUCTTYPE`** | This contains the value used to determine the*PHP\_WINDOWS\_NT\_\**constants. This value may be one of the*PHP\_WINDOWS\_NT\_\**constants indicating the platform type. | | **`PHP_WINDOWS_NT_DOMAIN_CONTROLLER`** | 這是域控制器 | | **`PHP_WINDOWS_NT_SERVER`** | 這是一個服務器系統 (eg. Server 2008/2003/2000),注意如果這是一個域控制器,通過**`PHP_WINDOWS_NT_DOMAIN_CONTROLLER`**報告。 | | **`PHP_WINDOWS_NT_WORKSTATION`** | 這是一個工作站系統 (例如 Vista/XP/2000/NT4) | 此功能列表可以通過**`PHP_WINDOWS_VERSION_SUITEMASK`**位掩碼檢測。 **Windows suitemask 位字段** | Bits | 描述 | | --- | --- | | *0x00000004* | 安裝的是 Microsoft BackOffice components。 | | *0x00000400* | 安裝的是 Windows Server 2003, Web Edition。 | | *0x00004000* | 安裝的是 Windows Server 2003, Compute Cluster Edition。 | | *0x00000080* | 安裝的是 Windows Server 2008 Datacenter, Windows Server 2003, Datacenter Edition or Windows 2000 Datacenter Server。 | | *0x00000002* | 安裝的是 Windows Server 2008 Enterprise, Windows Server 2003, Enterprise Edition, Windows 2000 Advanced Server 或 Windows NT Server 4.0 Enterprise Edition 。 | | *0x00000040* | 安裝的是 Windows XP Embedded。 | | *0x00000200* | 安裝的是 Windows Vista Home Premium, Windows Vista Home Basic 或 Windows XP Home Edition。 | | *0x00000100* | Remote Desktop is supported, but only one interactive session is supported. This value is set unless the system is running in application server mode. | | *0x00000001* | Microsoft Small Business Server was once installed on the system, but may have been upgraded to another version of Windows. | | *0x00000020* | Microsoft Small Business Server is installed with the restrictive client license in force. | | *0x00002000* | 安裝的是 Windows Storage Server 2003 R2 或 Windows Storage Server 2003。 | | *0x00000010* | 中斷服務安裝了。這個值總是設置的。如果這個值設置了,但*0x00000100*沒有設置,操作系統運行于 application server 模式。 | | *0x00008000* | 安裝的是 Windows Home Server。 |
                  <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>

                              哎呀哎呀视频在线观看