/hphp/test/zend/good/ext/standard/tests/array/bug40191.php
PHP | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | 43ab8aaf92f6297fda19e297db88a694 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
- <?php
- $arrObj = new ArrayObject();
- $arrObj->append('foo');
- $arrObj->append('bar');
- $arrObj->append('foo');
- $arr = array_unique($arrObj);
- var_dump($arr);
- echo "Done\n";
- ?>