- var_dump: documentation ( source)
- get_class_methods: documentation ( source)
- method_exists: documentation ( source)
<?php
class Foo
{
public function column()
{
$header = 'Foo';
var_dump(get_class($header), get_class_methods($header), method_exists($header, 'column'));
}
}
$o = new Foo();
$o->column();