လက်ရှိတည်နေရာ: ပင်မစာမျက်နှာ> ဖန်ရှင်အမျိုးအစားများ> 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 နှင့်အထက်တွင်ရရှိနိုင်သည်။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • compath_path configuration option ကို၏တန်ဖိုးကို restore restore_include_path

    restore_include_path

    compath_pathconfigur
  • လက်ရှိချည်၏ထူးခြားသောအမှတ်အသားကိုပြန်ပို့ပါ zend_thread_id

    zend_thread_id

    လက်ရှိချည်၏ထူးခြားသေ
  • configuration option ၏တန်ဖိုးကို restore ini_restore

    ini_restore

    configurationoption၏
  • PHP လုပ်ငန်းစဉ်၏ ID ကိုရယူပါ getmypid

    getmypid

    PHPလုပ်ငန်းစဉ်၏IDကို
  • PHP configuration options ၏တန်ဖိုးကိုရယူပါ get_cfg_var

    get_cfg_var

    PHPconfigurationopti
  • ပတ်ဝန်းကျင် variable ၏တန်ဖိုးကိုသတ်မှတ်ပါ putenv

    putenv

    ပတ်ဝန်းကျင်variable၏
  • PHP မှခွဲဝေမှတ်ဉာဏ်ပမာဏကိုပြန်ပို့သည် memory_get_usage

    memory_get_usage

    PHPမှခွဲဝေမှတ်ဉာဏ်ပမ
  • PHP configuration နှင့်ပတ်သက်။ output သတင်းအချက်အလက် phpinfo

    phpinfo

    PHPconfigurationနှင့
လူကြိုက်များသော ဆောင်းပါးများ