/hphp/test/slow/collection_classes/frozen_vector/array_key_exists.php
http://github.com/facebook/hiphop-php · PHP · 15 lines · 10 code · 4 blank · 1 comment · 0 complexity · 3bba23e6ab1458fe628928be539f7b3b MD5 · raw file
- <?hh
- // Test array_key_exists() for ImmVector.
- function main() {
- $fv = ImmVector {1, 2, 3};
- var_dump(array_key_exists(0, $fv));
- var_dump(array_key_exists(3, $fv));
- }
- <<__EntryPoint>>
- function main_array_key_exists() {
- main();
- }