some examples about php basic methods, like array, string, regular expression, mysql and so on