Inconsistencies in callable, call_user_func and direct variable calls

From: Date: Tue, 20 Jan 2015 20:54:10 +0000
Subject: Inconsistencies in callable, call_user_func and direct variable calls
Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
valid for call_user_func[_array] and callable type-hint but invalid for for direct variable calls:
- string "MyClass::staticFunc"
- string "self::staticFunc"
- string "static::staticFunc"
- string "parent::func"
- string "parent::staticFunc"

see http://3v4l.org/1oSO3

Thoughts ?



Thread (32 messages)

« previous php.internals (#80899) next »