PHP strev() လုပ်ဆောင်ချက်
ဥပမာ
"Hello World!" ဟူသော စာကြောင်းကို ပြောင်းပြန်လှန်ပါ။
<?php
echo strrev("Hello World!");
?>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
strev() function သည် string တစ်ခုကို ပြောင်းပြန်လှန်သည်။
အထားအသို
strrev(string)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
string | Required. Specifies the string to reverse |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | ပြောင်းပြန်စာကြောင်းကို ပြန်ပေးသည်။ |
---|---|
PHP ဗားရှင်း- | 4+ |
❮ PHP String အကိုးအကား