function name: stream_get_filters ()
သက်ဆိုင်သောဗားရှင်း - PHP 4> = 4.3.0, PHP 5, PHP 7
function ကိုဖော်ပြချက် - stream_get_filters () function ကို () function ကိုမှတ်ပုံတင်ထားသော stream filter များစာရင်းကိုပြန်ပို့ရန်အသုံးပြုသည်။
Syntax: Array Stream_Get_Filters (ပျက်ပြယ်)
parameters တွေကို - ဒီ function မှာ parameters တွေကိုရှိပါတယ်။
Return Value: မှတ်ပုံတင်ထားသော stream filter အမည်များပါသောခင်းကျင်းမှုကိုပြန်လည်ရောက်ရှိစေသည်။ အကယ်. မှတ်ပုံတင်ထားသော filter မရှိပါကအချည်းနှီးသောခင်းကျင်းမှုကိုပြန်ပို့သည်။
ဥပမာ -
$filters = stream_get_filters(); print_r($filters);
ထုတ်လုပ်မှု -
Array ( [0] => zlib.inflate [1] => zlib.deflate [2] => string.rot13 [3] => string.toupper [4] => string.tolower [5] => string.strip_tags [6] => convert.iconv.* [7] => consumed [8] => dechunk [9] => bzip2.compress [10] => bzip2.decompress [11] => zlib.compress [12] => zlib.uncompress [13] => mcrypt.* [14] => mdecrypt.* )
အထက်ပါဥပမာသည်မှတ်ပုံတင်ထားသော stream filter list တစ်ခုရရှိရန်အတွက် stream_get_filters () function ကိုမည်သို့အသုံးပြုရမည်ကိုပြသသည်။ ဤဥပမာတွင် Zlib.inflate, zlib.deflate, strings.rot13 စသည့်မှတ်ပုံတင်ထားသောစစ်ထုတ်သည့်အမည်များကိုကျွန်ုပ်တို့ရရှိသည်။