Validating Numbers (and other Data Types)
Last Updated on Sunday, 03 January 2010 14:20 Written by Zack Sunday, 03 January 2010 13:36
ဟိုတစ္ေန ့က Program ေရးရင္းနဲ ့ PHP မွာ ရွိတဲ့ Data Type ေတြကို စစ္တဲ့ helper Functions ေတြကို List Down
လုပ္ၾကည့္လိုက္မိတယ္။ အဲ့ဒါေတြကေတာ့
-is_array() -> Checks for array
-is_bool() -> Checks for Boolean
-is_float() -> Checks for float
-is_int() -> Checks for integer
-is_null() -> Checks for null
-is_numeric() -> Checks for integers and floats
-is_object() -> Checks for object
-is_string() -> Checks for string
အဲ့ဒါေတြကေတာ့ ကၽြန္ေတာ္ သတိထားမိသေလာက္ေလးခ်ေရးထားတာ ျဖစ္ပါတယ္။ လိုအပ္တာရွိရင္လည္း Comment ထဲမွာ
ေရးေပးခဲ့လို ့ရပါတယ္္။
| < Prev | Next > |
|---|
Login Form
Latest Post
Categories Table View
- Reader's Conner (133)
- PHP (48)
- Joomla CMS (46)
- Codeigniter (18)
- jQuery (12)
- iDhamma (11)
- Mobile Development (10)
- PHP & AJAX (4)
- Apache (3)
- For Mac (3)
- mySQL (2)
- DhammaDroid (1)