access property and method of a class in another php file
<p>I have a file with a class and some properties and methods inside the class.</p>

<p>I need to access the properties and methods of that class from another php file. I wanted to include the file with the class, but it is not a correct way for this situation because that file is contain some echo, which generate html and if I include that file is going to generate those html in the orher file that i dont want, I only want to access the properties and methods of the old one.</p>
