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

__halt_compiler

compiler ကွပ်မျက်ပြတ်တောက်
အမည်:__halt_compiler
အမျိုးအစား:အမျိုးမျိုးစုပေါင်းသော
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:compiler ကွပ်မျက်ရပ်တန့်။

အဓိပ္ပါယ်နှင့်အသုံးပြုမှု

__halt_compiler() function ကို compiler ၏ကွပ်မျက်ခြင်းကိုရပ်တန့်ရန်အသုံးပြုသည်။

သဒ္ဒါ

 __HAT_COMPILER ( )

ဥပမာပြပါ

__halt_compiler() function ကိုအမှန်တကယ် PHP scripts များတွင် compiler ကိုရပ်တန့်ရန်အမှန်တကယ်အသုံးမပြုပါ။ ၎င်း၏အဓိကရည်ရွယ်ချက်မှာ Phar Packager ဖြင့်အသုံးပြုရန်ဖြစ်သည်။ php archive ကိုဖန်တီးသောအခါ __halt_compiler() function ကိုသုံးနိုင်သည်။ ဤကိစ္စတွင် __HALT_CHPILER () ကို PHP Code အဖြစ်ကွပ်မျက်ခံရသည်။ ဤ function သည် PHP compiler ကိုအမှန်တကယ်မရပ်တန့်စေပါ, ဤလုပ်ဆောင်မှုကိုပုံမှန် PHP script တွင်ခေါ်ဆိုခြင်းသည်အမှန်တကယ်အကျိုးသက်ရောက်မှုမရှိပါ။

သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • Ctrl Event Handler ကိုသတ်မှတ်ပါ sapi_windows_set_ctrl_handler

    sapi_windows_set_ctrl_handler

    CtrlEventHandlerကိုသ
  • မှတ်ချက်များနှင့်နေရာများပယ်ဖျက်ပြီးနောက် PHP source code ကိုပြန်သွားပါ php_strip_whitespace

    php_strip_whitespace

    မှတ်ချက်များနှင့်နေရ
  • မက်ဆေ့ခ်ျကိုထုတ်လွှင့်ခြင်းနှင့်လက်ရှိ script ကိုမှထွက်ပါ exit

    exit

    မက်ဆေ့ခ်ျကိုထုတ်လွှင
  • process code စာမျက်နှာကိုတည်ဆောက်ခြင်း sapi_windows_cp_set

    sapi_windows_cp_set

    processcodeစာမျက်နှာ
  • client သည် client ကို disconnects သည့်အခါ script သည်အနှောင့်အယှက်မဖြစ်စေ, ignore_user_abort

    ignore_user_abort

    clientသည်clientကိုdi
  • Code Page သည် UTF-8 နှင့်သဟဇာတဖြစ်စေရှိမရှိဖော်ပြသည် sapi_windows_cp_is_utf8

    sapi_windows_cp_is_utf8

    CodePageသည်UTF-8နှင့
  • ထွက်ပေါက်နှင့်ညီမျှသည် () die

    die

    ထွက်ပေါက်နှင့်ညီမျှသ
  • အသုံးပြုသူရဲ့ browser ရှိသည့်လုပ်ဆောင်ချက်များကိုရယူပါ get_browser

    get_browser

    အသုံးပြုသူရဲ့browser
လူကြိုက်များသော ဆောင်းပါးများ