[UPHPU] Include file namespace collision detection

Joshua Simpson std3rr at gmail.com
Mon Oct 29 12:41:36 MDT 2007


Does anyone know of a way to inspect include/require files' namespaces?
Something that will return an array or other iterable that you can then
compare to other namespaces?  The reasoning behind this is to enable a debug
feature that raises exceptions on name collisions.

Basically, I'm looking for a way to use get_obj_vars / get_obj_methods on an
included file.   Anyone have any ideas?

-- 
-
http://stderr.ws/
"Some pseudo-insightful quote here." - Some Guy


More information about the UPHPU mailing list