$GLOBALS Domination Quest Continues

Mar 29, 2007 13:49



I was asking designjunky and boyplankton for some help with a function that I needed to write. I wanted a simple snippet that
would output a variable name and it's value to the screen for debugging PHP. I just thought I'd post my solution.

The difficulty I was having was being able to pass a variable's name and a variable's value while only ( Read more... )

Leave a comment

Comments 5

boyplankton March 30 2007, 02:27:29 UTC
Cool. I like your solution. It's the opposite of what I thought you were going for though.

Reply

designjunky March 30 2007, 04:42:13 UTC
I'm curious: what's the opposite of that?

Reply

boyplankton March 31 2007, 05:47:30 UTC
I thought that instead of passing a string that represented the variable name that he intended to pass the variable and then get the name somehow from the argument list. In fact, the only solution that I was really able to come up with was to make an object that always had a variable name parameter that he would have to initialize.

Reply


intrepidreportr March 31 2007, 15:36:09 UTC
Hey, so I had no idea you weren't on my friends list! I actually had to go back and figure out how to work this damn LiveJournal thing to make it work. How is you?

Reply

gl_casey April 2 2007, 08:49:42 UTC
Thanks. :) I'm good. I'm glad you and Dan are able to come up every once in a while. I'm sorry I'm such a dull guy when there are lots of people around.

Reply


Leave a comment

Up