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

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

WBOY
Release: 2016-06-13 10:36:43
Original
746 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template