Home  >  Article  >  Backend Development  >  thinkphp 如何定义和访问自定义函数

thinkphp 如何定义和访问自定义函数

WBOY
WBOYOriginal
2016-06-13 13:15:13894browse

thinkphp 怎么定义和访问自定义函数
在写项目过程中,有很多算法是重复很多次的。我想把他们直接写到函数中,以后方便调用

------解决方案--------------------
thinkphp->common->function.php

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