| Posted by seaside on 12/16/06 23:23 
Currently, I use this call
 traceVariable( $_SERVER['PHP_SELF'], '$_SERVER["PHP_SELF"]' );
 
 to pass a variable by reference to 'traceVariable' and by value a
 description string.
 
 Since the description string is very likely to be identical to the
 source code (string) of the first parameter, I'd like to write this:
 
 traceVariable( $_SERVER['PHP_SELF'] );
 
 Any ideas, how to get the literal expression (source) of a parameter,
 which got passed to a method/function?
 [Back to original message] |