|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Oct 2004
Location: Southwest US
Posts: 211
|
Determining what called a function
Ok, I know this is a bazaar question, but say I have two functions, and the first function calls the second function. Is there a way to determine what called the second function?
Such as: Code:
function One() {
Two();
}
function Two() {
//Determine what called this function
}
Thanks for any help, Itshim |
|
|
|
|
|
#2 |
|
Tranceoholic
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2004
Location: Örebro, Sweden
Posts: 2,718
|
|
|
|
|
|
|
#3 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Oct 2004
Location: Southwest US
Posts: 211
|
Thank you, I believe that is exactly what I'm looking for. Leave it to PHP to have what you need.
Thanks again, Itshim |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 18:49.









Linear Mode
