PageRenderTime 36ms CodeModel.GetById 32ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/hphp/test/zend/good/ext/standard/tests/array/bug40191.php

http://github.com/facebook/hiphop-php
PHP | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | 43ab8aaf92f6297fda19e297db88a694 MD5 | raw file
 1<?php
 2
 3$arrObj = new ArrayObject();
 4$arrObj->append('foo');
 5$arrObj->append('bar');
 6$arrObj->append('foo');
 7
 8$arr = array_unique($arrObj);
 9var_dump($arr);
10
11echo "Done\n";
12?>