As you can see, each time a function calls another function, its own values and state are suspended while the next function invocation occurs.
正如您可以看到的一样,每次一个函数调用另外一个函数时,在下一次发生调用时,它自己的值和状态都会被挂起。
However, what if the application wanted to track other data such as the value of certain variables or even attempt to profile the code by recording the duration of a particular function invocation?
但是,若是应用程序想要跟踪其他数据(比如某些变量的值)或者甚至试图通过记录特定的函数调用过程来剖析代码,那么情况又是如何呢?
In this case, the function invocation must be accomplished using a POST request (as opposed to a GET request).
在本例中,这个函数调用必须通过POST请求(而非GET请求)完成。
But, if you also wanted to use the standard PHP strlen function (say, within your own strlen implementation), you'd need to precede the function invocation with a backslash, as Listing 10 shows.
但是,如果也希望使用标准的PHPstrlen函数(比如在自己的strlen实现内部),就需要在函数调用前面加上反斜杠,见清单10。
But, if you also wanted to use the standard PHP strlen function (say, within your own strlen implementation), you'd need to precede the function invocation with a backslash, as Listing 10 shows.
但是,如果也希望使用标准的PHPstrlen函数(比如在自己的strlen实现内部),就需要在函数调用前面加上反斜杠,见清单10。
应用推荐