2010-11-19 48 views

回答

6
if (strpos($variable_to_search, ".") !== FALSE) { 
    // The variable contains a period. 
}