How can I know the line and the file from where a function has called. I
already know __FILE__ and __LINE__, but I don't want to transmit them in
arguments.
Exemple :
--- toto.php ---
1 : include(test.inc)
2 :
3 : test(bidule);
4 :
--- test.inc ---
1
How can I know the line and the file from where a function has called. I
already know __FILE__ and __LINE__, but I don't want to transmit them in
arguments.
Exemple :
--- toto.php ---
1 : include(test.inc)
2 :
3 : test(bidule);
4 :
--- test.inc ---
1 :
2 matches
Mail list logo