@@ -1526,11 +1526,10 @@ static inline void php_search_array(INTERNAL_FUNCTION_PARAMETERS, int behavior)
15261526 RETURN_TRUE ;
15271527 } else {
15281528 if (str_idx ) {
1529- RETVAL_STR_COPY (str_idx );
1529+ RETURN_STR_COPY (str_idx );
15301530 } else {
1531- RETVAL_LONG (num_idx );
1531+ RETURN_LONG (num_idx );
15321532 }
1533- return ;
15341533 }
15351534 }
15361535 } ZEND_HASH_FOREACH_END ();
@@ -1542,11 +1541,10 @@ static inline void php_search_array(INTERNAL_FUNCTION_PARAMETERS, int behavior)
15421541 RETURN_TRUE ;
15431542 } else {
15441543 if (str_idx ) {
1545- RETVAL_STR_COPY (str_idx );
1544+ RETURN_STR_COPY (str_idx );
15461545 } else {
1547- RETVAL_LONG (num_idx );
1546+ RETURN_LONG (num_idx );
15481547 }
1549- return ;
15501548 }
15511549 }
15521550 } ZEND_HASH_FOREACH_END ();
@@ -1559,11 +1557,10 @@ static inline void php_search_array(INTERNAL_FUNCTION_PARAMETERS, int behavior)
15591557 RETURN_TRUE ;
15601558 } else {
15611559 if (str_idx ) {
1562- RETVAL_STR_COPY (str_idx );
1560+ RETURN_STR_COPY (str_idx );
15631561 } else {
1564- RETVAL_LONG (num_idx );
1562+ RETURN_LONG (num_idx );
15651563 }
1566- return ;
15671564 }
15681565 }
15691566 } ZEND_HASH_FOREACH_END ();
@@ -1574,11 +1571,10 @@ static inline void php_search_array(INTERNAL_FUNCTION_PARAMETERS, int behavior)
15741571 RETURN_TRUE ;
15751572 } else {
15761573 if (str_idx ) {
1577- RETVAL_STR_COPY (str_idx );
1574+ RETURN_STR_COPY (str_idx );
15781575 } else {
1579- RETVAL_LONG (num_idx );
1576+ RETURN_LONG (num_idx );
15801577 }
1581- return ;
15821578 }
15831579 }
15841580 } ZEND_HASH_FOREACH_END ();
@@ -1589,11 +1585,10 @@ static inline void php_search_array(INTERNAL_FUNCTION_PARAMETERS, int behavior)
15891585 RETURN_TRUE ;
15901586 } else {
15911587 if (str_idx ) {
1592- RETVAL_STR_COPY (str_idx );
1588+ RETURN_STR_COPY (str_idx );
15931589 } else {
1594- RETVAL_LONG (num_idx );
1590+ RETURN_LONG (num_idx );
15951591 }
1596- return ;
15971592 }
15981593 }
15991594 } ZEND_HASH_FOREACH_END ();
0 commit comments