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. Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/165241-solved-view-all-classes/#findComment-871380 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.