Home  >  Article  >  Backend Development  >  一个函数想不起来了 . .该如何处理

一个函数想不起来了 . .该如何处理

WBOY
WBOYOriginal
2016-06-13 13:50:37759browse

一个函数想不起来了 ... ...
有一个函数,   在其他函数内部调用,   可以得到     函数调用的   次序   。

比如说:

function   a()
{
    b()   ;
}

function   b()
{
    c()   ;
}

function   c()
{
    xxx()   ;
}


这里的   xxx()   可以得到     a   >   b   >   c     。

------解决方案--------------------
debug_backtrace

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