Let's talk about variable function calls
| From: | Karoly Negyesi | Date: | Thu, 09 Oct 2014 06:48:50 +0000 |
| Subject: | Let's talk about variable function calls | ||
| Groups: | php.standards | ||
| Request: | Send a blank email to standards-+get-505@lists.php.net to get a copy of this message | ||
Hi,
http://3v4l.org/PaKsD
http://3v4l.org/pqZdR
I do not know what is the expected result but the result definitely is
different between Zend and HHVM (which gets a cookie for running this...).
So what's the standard for
$x = array(get_class(), "self:foo");
$x();
call_user_func($x);
Best,
ChX