Jump to content

class scope


alokp99

Recommended Posts

I have a very basic question.When I create  a class will it  be visible  in different files? I have class a in one file and class b in another.I  tried to use functions  defined in class a by instantiating class a but  got an error saying class a could not be found.I am not sure what needs to be done?

Thanks,

Alok.

Link to comment
https://forums.phpfreaks.com/topic/116647-class-scope/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.