Re: Inconsistencies in callable, call_user_func and direct variable calls

From: Date: Thu, 19 Mar 2015 19:05:32 +0000
Subject: Re: Inconsistencies in callable, call_user_func and direct variable calls
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi,

Am 19.03.2015 um 17:27 schrieb Sebastian B.-Hagensen:
> Another way to unify array and string callback may be to use the
> callable syntax and have it return a closure:
> callable('strlen');
> callable($object, $methodName);
> callable('class', 'staticMethod')

but before that happens, we should make closures serializable.

Greets
Dennis


Thread (32 messages)

« previous php.internals (#85233) next »