လက်ရှိတည်နေရာ: ပင်မစာမျက်နှာ> ဖန်ရှင်အမျိုးအစားများ> phpversion

phpversion

လက်ရှိ PHP ဗားရှင်းကိုရယူပါ
အမည်:phpversion
အမျိုးအစား:PHP ရွေးစရာများနှင့်သတင်းအချက်အလက်
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:လက်ရှိ PHP ဗားရှင်းနံပါတ်ကိုရယူပါ

function name: phpversion ()

function ကိုဖော်ပြချက် - လက်ရှိ PHP ၏ဗားရှင်းနံပါတ်ကိုရယူပါ။

အသုံးပြုမှု:

 string phpversion ( void )

ဥပမာ -

 echo "当前PHP版本号是:" . phpversion();

ထုတ်လုပ်မှု -

当前PHP版本号是:7.4.10

မှတ်စုများ

  • ဒီ function ကိုအဘယ်သူမျှမ parameters တွေကိုလိုအပ်ပါတယ်။
  • ပြန်လာသောဗားရှင်းနံပါတ်သည်လက်ရှိ PHP ဗားရှင်းကိုညွှန်ပြသည့် string တစ်ခုဖြစ်သည်။
  • ဗားရှင်းနံပါတ်၏ပုံစံသည်များသောအားဖြင့် "အဓိကဗားရှင်း။ အသေးစားဗားရှင်း။ တည်းဖြတ်ခြင်း" ကဲ့သို့သော "7.4.10" ကဲ့သို့သော "။
  • version နံပါတ်ကိုမရရှိနိုင်ပါက function ကိုမှားယွင်းစွာပြန်ပို့သည်။
  • ဤလုပ်ဆောင်ချက်ကို PHP 4 နှင့်အထက်တွင်ရရှိနိုင်သည်။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • ini_set ၏ alias ကို ini_alter

    ini_alter

    ini_set၏aliasကို
  • အဆိုပါမြို့ပတ်ရထားရည်ညွှန်းကောင်တာ၏ status ကိုပြန်သွား gc_enabled

    gc_enabled

    အဆိုပါမြို့ပတ်ရထားရည
  • စာမျက်နှာကိုပြုပြင်မွမ်းမံခဲ့သည် getlastmod

    getlastmod

    စာမျက်နှာကိုပြုပြင်မ
  • Magic_quotes_GPC အတွက်လက်ရှိ configuration settings ကိုရယူပါ။ ဤလုပ်ငန်းသည် PHP 7.4.0 ကတည်းကကန့်ကွက်သည်။ ဤအင်္ဂါရပ်ကိုမမှီခိုရန်အလွန်အမင်းအကြံပြုသည်။ get_magic_quotes_gpc

    get_magic_quotes_gpc

    Magic_quotes_GPCအတွက
  • compath_path configuration option ကို၏တန်ဖိုးကို restore restore_include_path

    restore_include_path

    compath_pathconfigur
  • configuration option ၏တန်ဖိုးကို restore ini_restore

    ini_restore

    configurationoption၏
  • အားလုံးရှိပြီးသားအမှိုက်သရိုက်သံသရာအားလုံးအတင်းအဓမ္မစုဆောင်းခြင်း gc_collect_cycles

    gc_collect_cycles

    အားလုံးရှိပြီးသားအမှ
  • လက်ရှိ PHP script ပိုင်ရှင်အမည်ကိုရယူပါ get_current_user

    get_current_user

    လက်ရှိPHPscriptပိုင်
လူကြိုက်များသော ဆောင်းပါးများ