<?php namespace Foo { class Bar { function Bar() { echo 'Hello'; } } $f = new Bar; var_dump(is_callable([$f, 'Bar'])); }
You have javascript disabled. You will not be able to edit any code.