Lines Matching refs:repl
2403 zval *repl; local
2411 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zzz|z/", &str, &repl, &from, &len) == FAILURE) {
2418 if (Z_TYPE_P(repl) != IS_ARRAY) {
2419 convert_to_string_ex(repl);
2486 if (Z_TYPE_P(repl) == IS_ARRAY) {
2488 while (repl_idx < Z_ARRVAL_P(repl)->nNumUsed) {
2489 tmp_repl = &Z_ARRVAL_P(repl)->arData[repl_idx].val;
2495 if (repl_idx < Z_ARRVAL_P(repl)->nNumUsed) {
2502 repl_str = Z_STR_P(repl);
2601 if (Z_TYPE_P(repl) == IS_ARRAY) {
2602 while (repl_idx < Z_ARRVAL_P(repl)->nNumUsed) {
2603 tmp_repl = &Z_ARRVAL_P(repl)->arData[repl_idx].val;
2609 if (repl_idx < Z_ARRVAL_P(repl)->nNumUsed) {
2627 result_len += Z_STRLEN_P(repl);
2632 memcpy((ZSTR_VAL(result) + f), Z_STRVAL_P(repl), Z_STRLEN_P(repl));
2633 …memcpy((ZSTR_VAL(result) + f + Z_STRLEN_P(repl)), ZSTR_VAL(orig_str) + f + l, ZSTR_LEN(orig_str) -…