codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php class Bar { public function foo() { echo 'hello'; } public function call() { call_user_func(array($this, 'foo')); } } $bar = new Bar(); $bar->call();
Private
[
?
]
Run code
Submit