For example, suppose your function name is test, use below code
Code:
function test( )
{
$backtrace = debug_backtrace();
print_r( $backtrace );
}
It will print the details from where the test method is being called.
./ipswap.sh Old_IP New_IP for example: ./ipswap.sh 35.224.2.88 104.197.113.37
No comments:
Post a Comment