PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/hphp/test/slow/array_functions/528.php

http://github.com/facebook/hiphop-php
PHP | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | ea129b0befaafa384a84a9c1574fd5d1 MD5 | raw file
1<?hh
2
3
4<<__EntryPoint>>
5function main_528() {
6  $input = darray["a" => "green",               0 => "red", "b" => "green", 1 => "blue", 2 => "red"];
7$result = array_unique($input);
8print_r($result);
9}