| alpha_dash() | ใช้ตรวจสอบว่าเป็น ข้อความตัวอักษร, ตัวเลข, ขีดล่าง, ขีดกลาง หรือไม่ ( เว้นวรรคก็ไม่ได้ ) |
|---|
method:alpha_dash ( text, utf8 );
return type:boolean
special:static
content:ใช้ตรวจสอบว่าเป็น ข้อความตัวอักษร, ตัวเลข, ขีดล่าง, ขีดกลาง หรือไม่ ( เว้นวรรคก็ไม่ได้ )
example:$my_alpha_dash = "programming 2.0"; if ( valid::alpha_dash ( $my_alpha_dash ) ) { echo "This is the alpha - dash."; }
comment:ตัวแปร utf8 ใช้กำหนดว่าจะตรวจสอบชนิด utf8 ( true )