convert ***sort builtins to use inout instead of references
[hiphop-php.git] / hphp / test / slow / bad_function_calls / 1716.php
blob8b7920d359e234db01e2e6a71b8e51a6a748d6c0
1 <?hh
3 <<__EntryPoint>>
4 function f() {
5 $arr = array(null);
6 try { sort(inout $arr,0,0,0,0,0,0,0,0); } catch (Exception $e) { echo "\n".'Warning: '.$e->getMessage().' in '.__FILE__.' on line '.__LINE__."\n"; }
7 var_dump($arr);