@@ -4453,22 +4453,22 @@ ZEND_VM_HELPER_EX(zend_isset_isempty_dim_prop_obj_handler, VAR|UNUSED|CV, CONST|
4453
4453
{
4454
4454
USE_OPLINE
4455
4455
zend_free_op free_op1 , free_op2 ;
4456
- zval * * container ;
4456
+ zval * container ;
4457
4457
zval * * value = NULL ;
4458
4458
int result = 0 ;
4459
4459
ulong hval ;
4460
4460
zval * offset ;
4461
4461
4462
4462
SAVE_OPLINE ();
4463
- container = GET_OP1_OBJ_ZVAL_PTR_PTR (BP_VAR_IS );
4463
+ container = GET_OP1_OBJ_ZVAL_PTR (BP_VAR_IS );
4464
4464
4465
4465
offset = GET_OP2_ZVAL_PTR (BP_VAR_R );
4466
4466
4467
- if (Z_TYPE_PP (container ) == IS_ARRAY && !prop_dim ) {
4467
+ if (Z_TYPE_P (container ) == IS_ARRAY && !prop_dim ) {
4468
4468
HashTable * ht ;
4469
4469
int isset = 0 ;
4470
4470
4471
- ht = Z_ARRVAL_PP (container );
4471
+ ht = Z_ARRVAL_P (container );
4472
4472
4473
4473
switch (Z_TYPE_P (offset )) {
4474
4474
case IS_DOUBLE :
@@ -4487,9 +4487,7 @@ ZEND_VM_C_LABEL(num_index_prop):
4487
4487
if (OP2_TYPE == IS_CONST ) {
4488
4488
hval = Z_HASH_P (offset );
4489
4489
} else {
4490
- if (!prop_dim ) {
4491
- ZEND_HANDLE_NUMERIC_EX (Z_STRVAL_P (offset ), Z_STRLEN_P (offset )+ 1 , hval , ZEND_VM_C_GOTO (num_index_prop ));
4492
- }
4490
+ ZEND_HANDLE_NUMERIC_EX (Z_STRVAL_P (offset ), Z_STRLEN_P (offset )+ 1 , hval , ZEND_VM_C_GOTO (num_index_prop ));
4493
4491
if (IS_INTERNED (Z_STRVAL_P (offset ))) {
4494
4492
hval = INTERNED_HASH (Z_STRVAL_P (offset ));
4495
4493
} else {
@@ -4524,20 +4522,20 @@ ZEND_VM_C_LABEL(num_index_prop):
4524
4522
}
4525
4523
}
4526
4524
FREE_OP2 ();
4527
- } else if (Z_TYPE_PP (container ) == IS_OBJECT ) {
4525
+ } else if (Z_TYPE_P (container ) == IS_OBJECT ) {
4528
4526
if (IS_OP2_TMP_FREE ()) {
4529
4527
MAKE_REAL_ZVAL_PTR (offset );
4530
4528
}
4531
4529
if (prop_dim ) {
4532
- if (Z_OBJ_HT_P (* container )-> has_property ) {
4533
- result = Z_OBJ_HT_P (* container )-> has_property (* container , offset , (opline -> extended_value & ZEND_ISEMPTY ) != 0 , ((OP2_TYPE == IS_CONST ) ? opline -> op2 .literal : NULL ) TSRMLS_CC );
4530
+ if (Z_OBJ_HT_P (container )-> has_property ) {
4531
+ result = Z_OBJ_HT_P (container )-> has_property (container , offset , (opline -> extended_value & ZEND_ISEMPTY ) != 0 , ((OP2_TYPE == IS_CONST ) ? opline -> op2 .literal : NULL ) TSRMLS_CC );
4534
4532
} else {
4535
4533
zend_error (E_NOTICE , "Trying to check property of non-object" );
4536
4534
result = 0 ;
4537
4535
}
4538
4536
} else {
4539
- if (Z_OBJ_HT_P (* container )-> has_dimension ) {
4540
- result = Z_OBJ_HT_P (* container )-> has_dimension (* container , offset , (opline -> extended_value & ZEND_ISEMPTY ) != 0 TSRMLS_CC );
4537
+ if (Z_OBJ_HT_P (container )-> has_dimension ) {
4538
+ result = Z_OBJ_HT_P (container )-> has_dimension (container , offset , (opline -> extended_value & ZEND_ISEMPTY ) != 0 TSRMLS_CC );
4541
4539
} else {
4542
4540
zend_error (E_NOTICE , "Trying to check element of non-array" );
4543
4541
result = 0 ;
@@ -4548,7 +4546,7 @@ ZEND_VM_C_LABEL(num_index_prop):
4548
4546
} else {
4549
4547
FREE_OP2 ();
4550
4548
}
4551
- } else if (( * container )-> type == IS_STRING && !prop_dim ) { /* string offsets */
4549
+ } else if (Z_TYPE_P ( container ) == IS_STRING && !prop_dim ) { /* string offsets */
4552
4550
zval tmp ;
4553
4551
4554
4552
if (Z_TYPE_P (offset ) != IS_LONG ) {
@@ -4566,11 +4564,11 @@ ZEND_VM_C_LABEL(num_index_prop):
4566
4564
}
4567
4565
if (Z_TYPE_P (offset ) == IS_LONG ) {
4568
4566
if (opline -> extended_value & ZEND_ISSET ) {
4569
- if (offset -> value .lval >= 0 && offset -> value .lval < Z_STRLEN_PP (container )) {
4567
+ if (offset -> value .lval >= 0 && offset -> value .lval < Z_STRLEN_P (container )) {
4570
4568
result = 1 ;
4571
4569
}
4572
4570
} else /* if (opline->extended_value & ZEND_ISEMPTY) */ {
4573
- if (offset -> value .lval >= 0 && offset -> value .lval < Z_STRLEN_PP (container ) && Z_STRVAL_PP (container )[offset -> value .lval ] != '0' ) {
4571
+ if (offset -> value .lval >= 0 && offset -> value .lval < Z_STRLEN_P (container ) && Z_STRVAL_P (container )[offset -> value .lval ] != '0' ) {
4574
4572
result = 1 ;
4575
4573
}
4576
4574
}
0 commit comments