i asked the same question on Ruby: how do you write some code to print out the variable's name automatically as well as its content. In here, I got some helpful discussions and solutions. And this is what happen instead in the PHP newsgroup: http://groups.google.com/group/comp.lang.php/browse_thread/thread/e02037a5c14e54c9/3288eeef436b64f7#3288eeef436b64f7 -- Posted via http://www.ruby-forum.com/.