PHP_FUNCTION(getAtOffset) {
HashTable* v1;
zend_bool free_v1 = 0;
long v2;
ZEND_PARSE_PARAMETERS_START(2, 2)
Z_PARAM_ARRAY_HT(v1)
Z_PARAM_LONG(v2)
ZEND_PARSE_PARAMETERS_END();
zval v3;
l1:
if (!zend_hash_index_exists(v1, v2)) {
ZVAL_NULL(&v3);
zend_error(E_NOTICE, "Uninitialized offset: %pd", v2);
} else {
ZVAL_INDIRECT(&v3, zend_hash_index_find(v1, v2));
}
RETURN_ZVAL(&v3, 1, 0);
}