I want to debug an application with debug_backtrace() in the __set function.
As I need it as a string I tried it with $myStringVar = print_r(debug_backtrace(),true);
But this doesn't work. I found out that there are some objects in my array that debug_backtrace() returns.
So I have to convert it another way to a string with ignoring the objects.
But how to do this?