<?php
$starting_vars = get_defined_vars();

//bunch of PHP code...

$current_vars = get_defined_vars();

$user_defined_vars = array_diff($current_vars,$starting_vars);

...

---John Holmes...

Oh I like that... wish I would have suggested that one!


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to