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

Language PHP Lines 13
MD5 Hash 43ab8aaf92f6297fda19e297db88a694 Estimated Cost $148 (why?)
Repository git://github.com/facebook/hiphop-php.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<?php

$arrObj = new ArrayObject();
$arrObj->append('foo');
$arrObj->append('bar');
$arrObj->append('foo');

$arr = array_unique($arrObj);
var_dump($arr);

echo "Done\n";
?>
Back to Top