Bob and Ed and others,
Thanks for all the responses. They really helped.
-- Gil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nntp.charter.net wrote:
I want to write a trace procedure and call it with variable names, and I am
having trouble with the syntax. My goal is to have a procedure that will
echo lines such as:
Trace: $myvar=the contents of $myvar
My attempt that didn't work is to write a function:
Bob Winter wrote:
nntp.charter.net wrote:
I want to write a trace procedure and call it with variable names, and
I am having trouble with the syntax. My goal is to have a procedure
that will echo lines such as:
Trace: $myvar=the contents of $myvar
My attempt that didn't work is to
On Jun 17, 2005, at 9:18 AM, Bob Winter wrote:
nntp.charter.net wrote:
I want to write a trace procedure and call it with variable names,
and I am having trouble with the syntax. My goal is to have a
procedure that will echo lines such as:
Trace: $myvar=the contents of $myvar
My attempt
You can use $$var constuction, what display name of $var
function my_trace($var){
echo $$var.'='.$var.'br';
}
nntp.charter.net [EMAIL PROTECTED] /
: news:[EMAIL PROTECTED]
I want to write a trace procedure and call it with variable names, and I am
having trouble with the syntax. My goal is
5 matches
Mail list logo