In PERL, the term used when a variable is replaced is interpolation. So in PERL code:
var $username = “Jeff”;
print qq|My name is $username.|;
would be seen as:
“My name is Jeff”
Simple interpolation. In PHP the same would be like:
My name is {username}.
In perl I would write and script to view the variable name hash, but I have no clue how to retrieve it from PHP. Does PHP even support hash structures, I do not think so.
Forgive the seemingly simple question, I do not have a PHP manual in from of me and a search did not answer questions.
What I want is a list of all the {variables} can can be used in page creation. $ENV, $INC, etc….
Thanks, I still got to wrap the brain round a feature poor language… better to do it all in C.