Home  >  Article  >  Backend Development  >  PHP function container ing...

PHP function container ing...

WBOY
WBOYOriginal
2016-08-08 09:29:571039browse

My function container (PHP):

1.gettype($variable)

return type of variable

2.preg_match($pattern,$string)

return true/ false

3.strpos($all,$neddle)

Return the index of the first match/false

4.cal_days_in_month(201502)

return the total number of days in this month

The above introduces the PHP function container ing..., including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:php-insertion sortNext article:php-insertion sort