| |

VerySource

 Forgot password?
 Register
Search
View: 4|Reply: 2

A function can't remember ...

[Copy link]

1

Threads

2

Posts

3

Credits

Newbie

Rank: 1

Credits
3

 Korea, Republic of

Post time: 2020-1-17 19:20:02
| Show all posts |Read mode
There is a function that is called inside other functions to get the order of function calls.

For example:

function a ()
{
  b ();
}

function b ()
{
  c ();
}

function c ()
{
  xxx ();
}


Here xxx () gives a> b> c.
Reply

Use magic Report

0

Threads

2

Posts

2

Credits

Newbie

Rank: 1

Credits
2

 Canada

Post time: 2020-1-23 11:00:01
| Show all posts
debug_backtrace
Reply

Use magic Report

1

Threads

2

Posts

3

Credits

Newbie

Rank: 1

Credits
3

 China

 Author| Post time: 2020-1-26 11:36:01
| Show all posts
That's it, thank you very much ~~~~
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2020|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list