Lines Matching refs:array_ptr
3728 zval *array_ptr, *result; local
3733 array_ptr = EX_CONSTANT(opline->op1);
3734 if (EXPECTED(Z_TYPE_P(array_ptr) == IS_ARRAY)) {
3736 ZVAL_COPY_VALUE(result, array_ptr);
3738 Z_ADDREF_P(array_ptr);
3743 } else if (IS_CONST != IS_CONST && EXPECTED(Z_TYPE_P(array_ptr) == IS_OBJECT)) {
3744 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
3749 ZVAL_COPY_VALUE(result, array_ptr);
3751 Z_ADDREF_P(array_ptr);
3753 fe_ht = Z_OBJPROP_P(array_ptr);
3766 EXPECTED(zend_check_property_access(Z_OBJ_P(array_ptr), p->key) == SUCCESS))) {
3776 zend_class_entry *ce = Z_OBJCE_P(array_ptr);
3777 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0);
3830 zval *array_ptr, *array_ref; local
3838 array_ref = array_ptr = NULL;
3846 array_ptr = Z_REFVAL_P(array_ref);
3849 array_ref = array_ptr = EX_CONSTANT(opline->op1);
3852 if (EXPECTED(Z_TYPE_P(array_ptr) == IS_ARRAY)) {
3854 if (array_ptr == array_ref) {
3856 array_ptr = Z_REFVAL_P(array_ref);
3862 ZVAL_NEW_REF(array_ref, array_ptr);
3863 array_ptr = Z_REFVAL_P(array_ref);
3866 zval_copy_ctor_func(array_ptr);
3868 SEPARATE_ARRAY(array_ptr);
3870 fe_ht = Z_ARRVAL_P(array_ptr);
3889 } else if (IS_CONST != IS_CONST && EXPECTED(Z_TYPE_P(array_ptr) == IS_OBJECT)) {
3890 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
3892 if (array_ptr == array_ref) {
3894 array_ptr = Z_REFVAL_P(array_ref);
3899 array_ptr = EX_VAR(opline->result.var);
3900 ZVAL_COPY_VALUE(array_ptr, array_ref);
3902 fe_ht = Z_OBJPROP_P(array_ptr);
3914 EXPECTED(zend_check_property_access(Z_OBJ_P(array_ptr), p->key) == SUCCESS))) {
3924 zend_class_entry *ce = Z_OBJCE_P(array_ptr);
3925 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1);
12264 zval *array_ptr, *result; local
12269 array_ptr = _get_zval_ptr_tmp(opline->op1.var, execute_data, &free_op1);
12270 if (EXPECTED(Z_TYPE_P(array_ptr) == IS_ARRAY)) {
12272 ZVAL_COPY_VALUE(result, array_ptr);
12274 Z_ADDREF_P(array_ptr);
12279 } else if (IS_TMP_VAR != IS_CONST && EXPECTED(Z_TYPE_P(array_ptr) == IS_OBJECT)) {
12280 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
12285 ZVAL_COPY_VALUE(result, array_ptr);
12287 Z_ADDREF_P(array_ptr);
12289 fe_ht = Z_OBJPROP_P(array_ptr);
12302 EXPECTED(zend_check_property_access(Z_OBJ_P(array_ptr), p->key) == SUCCESS))) {
12312 zend_class_entry *ce = Z_OBJCE_P(array_ptr);
12313 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0);
12367 zval *array_ptr, *array_ref; local
12375 array_ref = array_ptr = NULL;
12383 array_ptr = Z_REFVAL_P(array_ref);
12386 array_ref = array_ptr = _get_zval_ptr_tmp(opline->op1.var, execute_data, &free_op1);
12389 if (EXPECTED(Z_TYPE_P(array_ptr) == IS_ARRAY)) {
12391 if (array_ptr == array_ref) {
12393 array_ptr = Z_REFVAL_P(array_ref);
12399 ZVAL_NEW_REF(array_ref, array_ptr);
12400 array_ptr = Z_REFVAL_P(array_ref);
12403 zval_copy_ctor_func(array_ptr);
12405 SEPARATE_ARRAY(array_ptr);
12407 fe_ht = Z_ARRVAL_P(array_ptr);
12426 } else if (IS_TMP_VAR != IS_CONST && EXPECTED(Z_TYPE_P(array_ptr) == IS_OBJECT)) {
12427 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
12429 if (array_ptr == array_ref) {
12431 array_ptr = Z_REFVAL_P(array_ref);
12436 array_ptr = EX_VAR(opline->result.var);
12437 ZVAL_COPY_VALUE(array_ptr, array_ref);
12439 fe_ht = Z_OBJPROP_P(array_ptr);
12451 EXPECTED(zend_check_property_access(Z_OBJ_P(array_ptr), p->key) == SUCCESS))) {
12461 zend_class_entry *ce = Z_OBJCE_P(array_ptr);
12462 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1);
15736 zval *array_ptr, *result; local
15741 array_ptr = _get_zval_ptr_var_deref(opline->op1.var, execute_data, &free_op1);
15742 if (EXPECTED(Z_TYPE_P(array_ptr) == IS_ARRAY)) {
15744 ZVAL_COPY_VALUE(result, array_ptr);
15746 Z_ADDREF_P(array_ptr);
15752 } else if (IS_VAR != IS_CONST && EXPECTED(Z_TYPE_P(array_ptr) == IS_OBJECT)) {
15753 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
15758 ZVAL_COPY_VALUE(result, array_ptr);
15760 Z_ADDREF_P(array_ptr);
15762 fe_ht = Z_OBJPROP_P(array_ptr);
15775 EXPECTED(zend_check_property_access(Z_OBJ_P(array_ptr), p->key) == SUCCESS))) {
15786 zend_class_entry *ce = Z_OBJCE_P(array_ptr);
15787 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0);
15841 zval *array_ptr, *array_ref; local
15849 array_ref = array_ptr = _get_zval_ptr_ptr_var(opline->op1.var, execute_data, &free_op1);
15857 array_ptr = Z_REFVAL_P(array_ref);
15860 array_ref = array_ptr = _get_zval_ptr_var(opline->op1.var, execute_data, &free_op1);
15863 if (EXPECTED(Z_TYPE_P(array_ptr) == IS_ARRAY)) {
15865 if (array_ptr == array_ref) {
15867 array_ptr = Z_REFVAL_P(array_ref);
15873 ZVAL_NEW_REF(array_ref, array_ptr);
15874 array_ptr = Z_REFVAL_P(array_ref);
15877 zval_copy_ctor_func(array_ptr);
15879 SEPARATE_ARRAY(array_ptr);
15881 fe_ht = Z_ARRVAL_P(array_ptr);
15901 } else if (IS_VAR != IS_CONST && EXPECTED(Z_TYPE_P(array_ptr) == IS_OBJECT)) {
15902 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
15904 if (array_ptr == array_ref) {
15906 array_ptr = Z_REFVAL_P(array_ref);
15911 array_ptr = EX_VAR(opline->result.var);
15912 ZVAL_COPY_VALUE(array_ptr, array_ref);
15914 fe_ht = Z_OBJPROP_P(array_ptr);
15926 EXPECTED(zend_check_property_access(Z_OBJ_P(array_ptr), p->key) == SUCCESS))) {
15937 zend_class_entry *ce = Z_OBJCE_P(array_ptr);
15938 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1);
29587 zval *array_ptr, *result; local
29592 array_ptr = _get_zval_ptr_cv_deref_BP_VAR_R(execute_data, opline->op1.var);
29593 if (EXPECTED(Z_TYPE_P(array_ptr) == IS_ARRAY)) {
29595 ZVAL_COPY_VALUE(result, array_ptr);
29597 Z_ADDREF_P(array_ptr);
29602 } else if (IS_CV != IS_CONST && EXPECTED(Z_TYPE_P(array_ptr) == IS_OBJECT)) {
29603 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
29608 ZVAL_COPY_VALUE(result, array_ptr);
29610 Z_ADDREF_P(array_ptr);
29612 fe_ht = Z_OBJPROP_P(array_ptr);
29625 EXPECTED(zend_check_property_access(Z_OBJ_P(array_ptr), p->key) == SUCCESS))) {
29635 zend_class_entry *ce = Z_OBJCE_P(array_ptr);
29636 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0);
29689 zval *array_ptr, *array_ref; local
29697 array_ref = array_ptr = _get_zval_ptr_cv_BP_VAR_R(execute_data, opline->op1.var);
29705 array_ptr = Z_REFVAL_P(array_ref);
29708 array_ref = array_ptr = _get_zval_ptr_cv_BP_VAR_R(execute_data, opline->op1.var);
29711 if (EXPECTED(Z_TYPE_P(array_ptr) == IS_ARRAY)) {
29713 if (array_ptr == array_ref) {
29715 array_ptr = Z_REFVAL_P(array_ref);
29721 ZVAL_NEW_REF(array_ref, array_ptr);
29722 array_ptr = Z_REFVAL_P(array_ref);
29725 zval_copy_ctor_func(array_ptr);
29727 SEPARATE_ARRAY(array_ptr);
29729 fe_ht = Z_ARRVAL_P(array_ptr);
29748 } else if (IS_CV != IS_CONST && EXPECTED(Z_TYPE_P(array_ptr) == IS_OBJECT)) {
29749 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
29751 if (array_ptr == array_ref) {
29753 array_ptr = Z_REFVAL_P(array_ref);
29758 array_ptr = EX_VAR(opline->result.var);
29759 ZVAL_COPY_VALUE(array_ptr, array_ref);
29761 fe_ht = Z_OBJPROP_P(array_ptr);
29773 EXPECTED(zend_check_property_access(Z_OBJ_P(array_ptr), p->key) == SUCCESS))) {
29783 zend_class_entry *ce = Z_OBJCE_P(array_ptr);
29784 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1);