Lines Matching refs:repl
2218 zval **repl; local
2228 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ZZZ|Z", &str, &repl, &from, &len) == FAILURE…
2238 if (Z_TYPE_PP(repl) != IS_ARRAY) {
2239 if (Z_ISREF_PP(repl)) {
2240 SEPARATE_ZVAL(repl);
2242 convert_to_string_ex(repl);
2315 if (Z_TYPE_PP(repl) == IS_ARRAY) {
2316 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(repl), &pos_repl);
2317 … if (SUCCESS == zend_hash_get_current_data_ex(Z_ARRVAL_PP(repl), (void **) &tmp_repl, &pos_repl)) {
2322 repl_len = Z_STRLEN_PP(repl);
2329 …memcpy((result + f), (Z_TYPE_PP(repl) == IS_ARRAY ? Z_STRVAL_PP(tmp_repl) : Z_STRVAL_PP(repl)), re…
2353 if (Z_TYPE_PP(repl) == IS_ARRAY) {
2354 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(repl), &pos_repl);
2438 if (Z_TYPE_PP(repl) == IS_ARRAY) {
2439 … if (SUCCESS == zend_hash_get_current_data_ex(Z_ARRVAL_PP(repl), (void **) &tmp_repl, &pos_repl)) {
2452 zend_hash_move_forward_ex(Z_ARRVAL_PP(repl), &pos_repl);
2468 result_len += Z_STRLEN_PP(repl);
2473 memcpy((result + f), Z_STRVAL_PP(repl), Z_STRLEN_PP(repl));
2474 …memcpy((result + f + Z_STRLEN_PP(repl)), Z_STRVAL_P(orig_str) + f + l, Z_STRLEN_P(orig_str) - f - …