Hey guys. I am trying to create a method that will return the variable and whats assigned to the vairable. Not jsut the string.
So for example, when I call my code account() below, I want it to return the variables and whats assigned to them, so that I can work with these variables.
function accounts($demo = TRUE) { if($demo) { $from_number = "55555555555"; $sid = "******************"; $token = "*****************"; } else { $from_number = "5555555555"; $sid = "*****************"; $token = "*****************"; } } accounts();