On Wed, 2003-07-02 at 10:11, Timm Friebe wrote:
> On Wed, 2003-07-02 at 06:34, Sterling Hughes wrote:
> [...]
> > $t = new test;
> > var_dump($t->filter('hello world'));
>
> Changing this line to:
> var_dump(call_user_func(array($t, 'filter'), 'hello wor
On Wed, 2003-07-02 at 06:34, Sterling Hughes wrote:
[...]
> $t = new test;
> var_dump($t->filter('hello world'));
Changing this line to:
var_dump(call_user_func(array($t, 'filter'), 'hello world'));
or even
$t= new Reflection_Method('test', 'filte
Hey,
Bug 24441 (http://bugs.php.net/bug.php?id=24441), displays the following
problem:
array, array($this, 'filter'));
}
function filter ($value) {
return preg_match("/{$this->filter}/i", $value);
}
}
$t = new test;
var_dump($t->filter('hello world'));
?>