Deprecated features in PHP 5.3.x

PHP 5.3 မှာ သုံးလို့မရတော့တဲ့ function တွေပါလာပါတယ်။ ကျွန်တော်တောင် ornagai မှာ split function သုံးထားတာကို ပြန်ပြင်လိုက်ရတယ်။ အဲလိုအခါတွေမှာ ဘာ function အစားထိုးရမလဲဆိုတာကို သိထားဖို့လိုပါတယ်။ အဲဒီအတွက်လည်း php.net မှာ ညွှန်းဆိုထားပြီးသားပါ။ split အစား preg_split() ကို အစားထိုးသုံးရပါတယ်။ အခြား function တွေလည်း အစားထိုးပြောင်းလဲသုံးရတာတွေ ရှိပါတယ်။ deprecated လုပ်လိုက်တာလည်း ကောင်းပါတယ်။ အချို့ function တွေ duplicate ဖြစ်နေတာတွေရှိနေတယ်။ လိုလည်း မလိုလောက်ဘူးထင်တာပဲ။ အချို့ function တွေက သုံးတဲ့လူတော်တော် ရှားပါတယ်။

သုံးမရတော့တဲ့ function နဲ့ ပြောင်းလဲသုံးရမယ့် list ကို အောက်မှာ ပြထားပါတယ်။

Deprecated functions:

Reference

http://php.net/manual/en/migration53.deprecated.php

2 Comments

  1. Zack says:

    ဟားဟား ရေးမလို့ ရှိသေး သူဦးသွားပြီ good good …

    1. saturngod says:

      အခုခေတ်က မြန်မှ ရမှ.. ခွိခွိ..

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.