/hphp/test/slow/array_functions/528.php
PHP | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | ea129b0befaafa384a84a9c1574fd5d1 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- <<__EntryPoint>>
- function main_528() {
- $input = darray["a" => "green", 0 => "red", "b" => "green", 1 => "blue", 2 => "red"];
- $result = array_unique($input);
- print_r($result);
- }