<?php class test{ function showMess() { echo 'this is a test'; } } $t = test; //var_dump($t); $t = new test; //var_dump($t,$t->showMess); var_dump($t->showMess()); var_dump('have a nice day');
You have javascript disabled. You will not be able to edit any code.