seventheyejosh Posted July 8, 2009 Share Posted July 8, 2009 Another question, Is there a way to see all instanciated (sp?) classes? Be it an array or whatnot. For example if i have $ok= new ok(); $ano = new ano(); is there a function that i can call to get something like results=array(0=>ok,1=>ano); etc? Thanks. Link to comment https://forums.phpfreaks.com/topic/165241-solved-view-all-classes/ Share on other sites More sharing options...
Daniel0 Posted July 8, 2009 Share Posted July 8, 2009 I suppose you can use get_defined_vars with the instanceof operator. What are you really trying to do though? Doesn't sound like it will end up with a very well designed application. Link to comment https://forums.phpfreaks.com/topic/165241-solved-view-all-classes/#findComment-871372 Share on other sites More sharing options...
seventheyejosh Posted July 8, 2009 Author Share Posted July 8, 2009 I occasionally have fleeting bursts of madness But ya looking like that random thought was a bust Oh well Thanks for the effort. Link to comment https://forums.phpfreaks.com/topic/165241-solved-view-all-classes/#findComment-871380 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.