PHP-like reflection using tokenized source code