Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PHP: function in method
class FooClass {
public function foo_method() {
function foo_func() {
echo "it works, really";
$foo = new FooClass;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment