get_magic_quotes_runtime

get_magic_quotes_runtime函式取得 PHP 環境配置的變數 magic_quotes_runtime 值。返回 0 表示關閉本功能;返回 1 表示本功能打開。若 magic_quotes_runtime 打開時,所有外部引入的資料庫資料或者檔案等等都會自動轉為含有反斜線溢出字元的資料。

基本介紹

  • 中文名:get_magic_quotes_runtime
  • 返回值:長整數
  • 函式種類:PHP 系統功能
  • 特點:引入的資料庫資料
取得 PHP 環境變數 magic_quotes_runtime 的值。
語法: long get_magic_quotes_runtime(void);
返回值: 長整數
函式種類: PHP 系統功能
內容說明
自 PHP 5.4.0 起始終返回FALSE,因為魔術引號(magic quotes)功能已經從 PHP 中移除。

相關詞條

熱門詞條

聯絡我們