Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Teszt
- {
- public function proba()
- {
- echo 'Kecske.';
- }
- }
- $teszt = new Teszt();
- $proba = array($teszt, 'proba');
- // call_user_func($proba);
- $proba(); // Kecske.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement