Fix memoization of functions called with keyset arguments
[hiphop-php.git] / hphp / test / quick / typehint_callable.php
blob990ec79f430e73667c03a6dae1a04032a0b91b55
1 <?php
3 function a(callable $b) { $b(); }
5 $c = function() { var_dump(true); };
6 a($c);
8 try {
9 a('hi');
10 } catch (Exception $e) {
11 var_dump($e);