I'd like to access all of the variables I've defined in my script without including all of the predefined variables that come with $GLOBALS or get_defined_vars. I only want the variables I've defined myself.

Is there a simple way to do this without having to add every variable to an array? Or perhaps a way to access the $GLOBALS or get_defined_vars array that will only give me the ones I want?

Thanks in advance,

Craig

    Write a Reply...