Coverage Report

Created: 2026-06-02 06:37

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/php-src/Zend/zend_smart_str.h
Line
Count
Source
1
/*
2
   +----------------------------------------------------------------------+
3
   | Copyright © The PHP Group and Contributors.                          |
4
   +----------------------------------------------------------------------+
5
   | This source file is subject to the Modified BSD License that is      |
6
   | bundled with this package in the file LICENSE, and is available      |
7
   | through the World Wide Web at <https://www.php.net/license/>.        |
8
   |                                                                      |
9
   | SPDX-License-Identifier: BSD-3-Clause                                |
10
   +----------------------------------------------------------------------+
11
   | Author: Sascha Schumann <sascha@schumann.cx>                         |
12
   +----------------------------------------------------------------------+
13
 */
14
15
#ifndef ZEND_SMART_STR_H
16
#define ZEND_SMART_STR_H
17
18
#include <zend.h>
19
#include "zend_globals.h"
20
#include "zend_smart_str_public.h"
21
22
BEGIN_EXTERN_C()
23
24
ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len);
25
ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len);
26
ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char *s, size_t l);
27
/* If zero_fraction is true, then a ".0" will be added to numbers that would not otherwise
28
 * have a fractional part and look like integers. */
29
ZEND_API void ZEND_FASTCALL smart_str_append_double(
30
    smart_str *str, double num, int precision, bool zero_fraction);
31
ZEND_API void smart_str_append_printf(smart_str *dest, const char *format, ...)
32
  ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
33
ZEND_API void ZEND_FASTCALL smart_str_append_escaped_truncated(smart_str *str, const zend_string *value, size_t length);
34
ZEND_API void ZEND_FASTCALL smart_str_append_scalar(smart_str *str, const zval *value, size_t truncate);
35
ZEND_API zend_result ZEND_FASTCALL smart_str_append_zval(smart_str *dest, const zval *value, size_t truncate);
36
END_EXTERN_C()
37
38
44.9M
static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) {
39
44.9M
  if (UNEXPECTED(!str->s)) {
40
1.88M
    goto do_smart_str_realloc;
41
43.0M
  } else {
42
43.0M
    len += ZSTR_LEN(str->s);
43
43.0M
    if (UNEXPECTED(len >= str->a)) {
44
2.40M
do_smart_str_realloc:
45
2.40M
      if (persistent) {
46
0
        smart_str_realloc(str, len);
47
2.40M
      } else {
48
2.40M
        smart_str_erealloc(str, len);
49
2.40M
      }
50
2.40M
    }
51
43.0M
  }
52
44.9M
  return len;
53
44.9M
}
Unexecuted instantiation: php_date.c:smart_str_alloc
Unexecuted instantiation: php_pcre.c:smart_str_alloc
Unexecuted instantiation: hash.c:smart_str_alloc
Unexecuted instantiation: json_encoder.c:smart_str_alloc
Unexecuted instantiation: json.c:smart_str_alloc
Unexecuted instantiation: zend_jit.c:smart_str_alloc
Unexecuted instantiation: php_reflection.c:smart_str_alloc
Unexecuted instantiation: spl_array.c:smart_str_alloc
Unexecuted instantiation: spl_dllist.c:smart_str_alloc
Unexecuted instantiation: spl_iterators.c:smart_str_alloc
Unexecuted instantiation: spl_observer.c:smart_str_alloc
Unexecuted instantiation: array.c:smart_str_alloc
Unexecuted instantiation: basic_functions.c:smart_str_alloc
Unexecuted instantiation: file.c:smart_str_alloc
Unexecuted instantiation: filters.c:smart_str_alloc
Unexecuted instantiation: head.c:smart_str_alloc
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_alloc
Unexecuted instantiation: http.c:smart_str_alloc
Unexecuted instantiation: mail.c:smart_str_alloc
Unexecuted instantiation: proc_open.c:smart_str_alloc
Unexecuted instantiation: string.c:smart_str_alloc
Unexecuted instantiation: url_scanner_ex.c:smart_str_alloc
Unexecuted instantiation: url.c:smart_str_alloc
Unexecuted instantiation: var.c:smart_str_alloc
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_alloc
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_alloc
Unexecuted instantiation: fopen_wrappers.c:smart_str_alloc
Unexecuted instantiation: php_variables.c:smart_str_alloc
spprintf.c:smart_str_alloc
Line
Count
Source
38
35.9M
static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) {
39
35.9M
  if (UNEXPECTED(!str->s)) {
40
1.87M
    goto do_smart_str_realloc;
41
34.1M
  } else {
42
34.1M
    len += ZSTR_LEN(str->s);
43
34.1M
    if (UNEXPECTED(len >= str->a)) {
44
2.37M
do_smart_str_realloc:
45
2.37M
      if (persistent) {
46
0
        smart_str_realloc(str, len);
47
2.37M
      } else {
48
2.37M
        smart_str_erealloc(str, len);
49
2.37M
      }
50
2.37M
    }
51
34.1M
  }
52
35.9M
  return len;
53
35.9M
}
Unexecuted instantiation: zend_dump.c:smart_str_alloc
zend_ast.c:smart_str_alloc
Line
Count
Source
38
8.62M
static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) {
39
8.62M
  if (UNEXPECTED(!str->s)) {
40
12.8k
    goto do_smart_str_realloc;
41
8.61M
  } else {
42
8.61M
    len += ZSTR_LEN(str->s);
43
8.61M
    if (UNEXPECTED(len >= str->a)) {
44
25.1k
do_smart_str_realloc:
45
25.1k
      if (persistent) {
46
0
        smart_str_realloc(str, len);
47
25.1k
      } else {
48
25.1k
        smart_str_erealloc(str, len);
49
25.1k
      }
50
25.1k
    }
51
8.61M
  }
52
8.62M
  return len;
53
8.62M
}
zend_attributes.c:smart_str_alloc
Line
Count
Source
38
48
static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) {
39
48
  if (UNEXPECTED(!str->s)) {
40
24
    goto do_smart_str_realloc;
41
24
  } else {
42
24
    len += ZSTR_LEN(str->s);
43
24
    if (UNEXPECTED(len >= str->a)) {
44
24
do_smart_str_realloc:
45
24
      if (persistent) {
46
0
        smart_str_realloc(str, len);
47
24
      } else {
48
24
        smart_str_erealloc(str, len);
49
24
      }
50
24
    }
51
24
  }
52
48
  return len;
53
48
}
Unexecuted instantiation: zend_builtin_functions.c:smart_str_alloc
zend_exceptions.c:smart_str_alloc
Line
Count
Source
38
6.73k
static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) {
39
6.73k
  if (UNEXPECTED(!str->s)) {
40
2.24k
    goto do_smart_str_realloc;
41
4.49k
  } else {
42
4.49k
    len += ZSTR_LEN(str->s);
43
4.49k
    if (UNEXPECTED(len >= str->a)) {
44
2.24k
do_smart_str_realloc:
45
2.24k
      if (persistent) {
46
0
        smart_str_realloc(str, len);
47
2.24k
      } else {
48
2.24k
        smart_str_erealloc(str, len);
49
2.24k
      }
50
2.24k
    }
51
4.49k
  }
52
6.73k
  return len;
53
6.73k
}
Unexecuted instantiation: zend_execute.c:smart_str_alloc
zend_inheritance.c:smart_str_alloc
Line
Count
Source
38
15.8k
static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) {
39
15.8k
  if (UNEXPECTED(!str->s)) {
40
958
    goto do_smart_str_realloc;
41
14.8k
  } else {
42
14.8k
    len += ZSTR_LEN(str->s);
43
14.8k
    if (UNEXPECTED(len >= str->a)) {
44
1.18k
do_smart_str_realloc:
45
1.18k
      if (persistent) {
46
0
        smart_str_realloc(str, len);
47
1.18k
      } else {
48
1.18k
        smart_str_erealloc(str, len);
49
1.18k
      }
50
1.18k
    }
51
14.8k
  }
52
15.8k
  return len;
53
15.8k
}
Unexecuted instantiation: zend_ini.c:smart_str_alloc
zend_smart_str.c:smart_str_alloc
Line
Count
Source
38
330k
static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) {
39
330k
  if (UNEXPECTED(!str->s)) {
40
0
    goto do_smart_str_realloc;
41
330k
  } else {
42
330k
    len += ZSTR_LEN(str->s);
43
330k
    if (UNEXPECTED(len >= str->a)) {
44
568
do_smart_str_realloc:
45
568
      if (persistent) {
46
0
        smart_str_realloc(str, len);
47
568
      } else {
48
568
        smart_str_erealloc(str, len);
49
568
      }
50
568
    }
51
330k
  }
52
330k
  return len;
53
330k
}
Unexecuted instantiation: zend.c:smart_str_alloc
54
55
0
static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) {
56
0
  size_t new_len = smart_str_alloc(dest, len, persistent);
57
0
  char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s);
58
0
  ZSTR_LEN(dest->s) = new_len;
59
0
  return ret;
60
0
}
Unexecuted instantiation: php_date.c:smart_str_extend_ex
Unexecuted instantiation: php_pcre.c:smart_str_extend_ex
Unexecuted instantiation: hash.c:smart_str_extend_ex
Unexecuted instantiation: json_encoder.c:smart_str_extend_ex
Unexecuted instantiation: json.c:smart_str_extend_ex
Unexecuted instantiation: zend_jit.c:smart_str_extend_ex
Unexecuted instantiation: php_reflection.c:smart_str_extend_ex
Unexecuted instantiation: spl_array.c:smart_str_extend_ex
Unexecuted instantiation: spl_dllist.c:smart_str_extend_ex
Unexecuted instantiation: spl_iterators.c:smart_str_extend_ex
Unexecuted instantiation: spl_observer.c:smart_str_extend_ex
Unexecuted instantiation: array.c:smart_str_extend_ex
Unexecuted instantiation: basic_functions.c:smart_str_extend_ex
Unexecuted instantiation: file.c:smart_str_extend_ex
Unexecuted instantiation: filters.c:smart_str_extend_ex
Unexecuted instantiation: head.c:smart_str_extend_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_extend_ex
Unexecuted instantiation: http.c:smart_str_extend_ex
Unexecuted instantiation: mail.c:smart_str_extend_ex
Unexecuted instantiation: proc_open.c:smart_str_extend_ex
Unexecuted instantiation: string.c:smart_str_extend_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_extend_ex
Unexecuted instantiation: url.c:smart_str_extend_ex
Unexecuted instantiation: var.c:smart_str_extend_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extend_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extend_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_extend_ex
Unexecuted instantiation: php_variables.c:smart_str_extend_ex
Unexecuted instantiation: spprintf.c:smart_str_extend_ex
Unexecuted instantiation: zend_dump.c:smart_str_extend_ex
Unexecuted instantiation: zend_ast.c:smart_str_extend_ex
Unexecuted instantiation: zend_attributes.c:smart_str_extend_ex
Unexecuted instantiation: zend_builtin_functions.c:smart_str_extend_ex
Unexecuted instantiation: zend_exceptions.c:smart_str_extend_ex
Unexecuted instantiation: zend_execute.c:smart_str_extend_ex
Unexecuted instantiation: zend_inheritance.c:smart_str_extend_ex
Unexecuted instantiation: zend_ini.c:smart_str_extend_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_extend_ex
Unexecuted instantiation: zend.c:smart_str_extend_ex
61
62
static zend_always_inline char* smart_str_extend(smart_str *dest, size_t length)
63
0
{
64
0
  return smart_str_extend_ex(dest, length, false);
65
0
}
Unexecuted instantiation: php_date.c:smart_str_extend
Unexecuted instantiation: php_pcre.c:smart_str_extend
Unexecuted instantiation: hash.c:smart_str_extend
Unexecuted instantiation: json_encoder.c:smart_str_extend
Unexecuted instantiation: json.c:smart_str_extend
Unexecuted instantiation: zend_jit.c:smart_str_extend
Unexecuted instantiation: php_reflection.c:smart_str_extend
Unexecuted instantiation: spl_array.c:smart_str_extend
Unexecuted instantiation: spl_dllist.c:smart_str_extend
Unexecuted instantiation: spl_iterators.c:smart_str_extend
Unexecuted instantiation: spl_observer.c:smart_str_extend
Unexecuted instantiation: array.c:smart_str_extend
Unexecuted instantiation: basic_functions.c:smart_str_extend
Unexecuted instantiation: file.c:smart_str_extend
Unexecuted instantiation: filters.c:smart_str_extend
Unexecuted instantiation: head.c:smart_str_extend
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_extend
Unexecuted instantiation: http.c:smart_str_extend
Unexecuted instantiation: mail.c:smart_str_extend
Unexecuted instantiation: proc_open.c:smart_str_extend
Unexecuted instantiation: string.c:smart_str_extend
Unexecuted instantiation: url_scanner_ex.c:smart_str_extend
Unexecuted instantiation: url.c:smart_str_extend
Unexecuted instantiation: var.c:smart_str_extend
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extend
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extend
Unexecuted instantiation: fopen_wrappers.c:smart_str_extend
Unexecuted instantiation: php_variables.c:smart_str_extend
Unexecuted instantiation: spprintf.c:smart_str_extend
Unexecuted instantiation: zend_dump.c:smart_str_extend
Unexecuted instantiation: zend_ast.c:smart_str_extend
Unexecuted instantiation: zend_attributes.c:smart_str_extend
Unexecuted instantiation: zend_builtin_functions.c:smart_str_extend
Unexecuted instantiation: zend_exceptions.c:smart_str_extend
Unexecuted instantiation: zend_execute.c:smart_str_extend
Unexecuted instantiation: zend_inheritance.c:smart_str_extend
Unexecuted instantiation: zend_ini.c:smart_str_extend
Unexecuted instantiation: zend_smart_str.c:smart_str_extend
Unexecuted instantiation: zend.c:smart_str_extend
66
67
155k
static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) {
68
155k
  if (str->s) {
69
0
    zend_string_release_ex(str->s, persistent);
70
0
    str->s = NULL;
71
0
  }
72
155k
  str->a = 0;
73
155k
}
Unexecuted instantiation: php_date.c:smart_str_free_ex
Unexecuted instantiation: php_pcre.c:smart_str_free_ex
Unexecuted instantiation: hash.c:smart_str_free_ex
Unexecuted instantiation: json_encoder.c:smart_str_free_ex
Unexecuted instantiation: json.c:smart_str_free_ex
Unexecuted instantiation: zend_jit.c:smart_str_free_ex
Unexecuted instantiation: php_reflection.c:smart_str_free_ex
Unexecuted instantiation: spl_array.c:smart_str_free_ex
Unexecuted instantiation: spl_dllist.c:smart_str_free_ex
Unexecuted instantiation: spl_iterators.c:smart_str_free_ex
Unexecuted instantiation: spl_observer.c:smart_str_free_ex
Unexecuted instantiation: array.c:smart_str_free_ex
Unexecuted instantiation: basic_functions.c:smart_str_free_ex
Unexecuted instantiation: file.c:smart_str_free_ex
Unexecuted instantiation: filters.c:smart_str_free_ex
Unexecuted instantiation: head.c:smart_str_free_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_free_ex
Unexecuted instantiation: http.c:smart_str_free_ex
Unexecuted instantiation: mail.c:smart_str_free_ex
Unexecuted instantiation: proc_open.c:smart_str_free_ex
Unexecuted instantiation: string.c:smart_str_free_ex
url_scanner_ex.c:smart_str_free_ex
Line
Count
Source
67
155k
static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) {
68
155k
  if (str->s) {
69
0
    zend_string_release_ex(str->s, persistent);
70
    str->s = NULL;
71
0
  }
72
155k
  str->a = 0;
73
155k
}
Unexecuted instantiation: url.c:smart_str_free_ex
Unexecuted instantiation: var.c:smart_str_free_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_free_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_free_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_free_ex
Unexecuted instantiation: php_variables.c:smart_str_free_ex
Unexecuted instantiation: spprintf.c:smart_str_free_ex
Unexecuted instantiation: zend_dump.c:smart_str_free_ex
Unexecuted instantiation: zend_ast.c:smart_str_free_ex
Unexecuted instantiation: zend_attributes.c:smart_str_free_ex
Unexecuted instantiation: zend_builtin_functions.c:smart_str_free_ex
Unexecuted instantiation: zend_exceptions.c:smart_str_free_ex
Unexecuted instantiation: zend_execute.c:smart_str_free_ex
Unexecuted instantiation: zend_inheritance.c:smart_str_free_ex
Unexecuted instantiation: zend_ini.c:smart_str_free_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_free_ex
Unexecuted instantiation: zend.c:smart_str_free_ex
74
75
static zend_always_inline void smart_str_free(smart_str *str)
76
155k
{
77
155k
  smart_str_free_ex(str, false);
78
155k
}
Unexecuted instantiation: php_date.c:smart_str_free
Unexecuted instantiation: php_pcre.c:smart_str_free
Unexecuted instantiation: hash.c:smart_str_free
Unexecuted instantiation: json_encoder.c:smart_str_free
Unexecuted instantiation: json.c:smart_str_free
Unexecuted instantiation: zend_jit.c:smart_str_free
Unexecuted instantiation: php_reflection.c:smart_str_free
Unexecuted instantiation: spl_array.c:smart_str_free
Unexecuted instantiation: spl_dllist.c:smart_str_free
Unexecuted instantiation: spl_iterators.c:smart_str_free
Unexecuted instantiation: spl_observer.c:smart_str_free
Unexecuted instantiation: array.c:smart_str_free
Unexecuted instantiation: basic_functions.c:smart_str_free
Unexecuted instantiation: file.c:smart_str_free
Unexecuted instantiation: filters.c:smart_str_free
Unexecuted instantiation: head.c:smart_str_free
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_free
Unexecuted instantiation: http.c:smart_str_free
Unexecuted instantiation: mail.c:smart_str_free
Unexecuted instantiation: proc_open.c:smart_str_free
Unexecuted instantiation: string.c:smart_str_free
url_scanner_ex.c:smart_str_free
Line
Count
Source
76
155k
{
77
  smart_str_free_ex(str, false);
78
155k
}
Unexecuted instantiation: url.c:smart_str_free
Unexecuted instantiation: var.c:smart_str_free
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_free
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_free
Unexecuted instantiation: fopen_wrappers.c:smart_str_free
Unexecuted instantiation: php_variables.c:smart_str_free
Unexecuted instantiation: spprintf.c:smart_str_free
Unexecuted instantiation: zend_dump.c:smart_str_free
Unexecuted instantiation: zend_ast.c:smart_str_free
Unexecuted instantiation: zend_attributes.c:smart_str_free
Unexecuted instantiation: zend_builtin_functions.c:smart_str_free
Unexecuted instantiation: zend_exceptions.c:smart_str_free
Unexecuted instantiation: zend_execute.c:smart_str_free
Unexecuted instantiation: zend_inheritance.c:smart_str_free
Unexecuted instantiation: zend_ini.c:smart_str_free
Unexecuted instantiation: zend_smart_str.c:smart_str_free
Unexecuted instantiation: zend.c:smart_str_free
79
80
1.88M
static zend_always_inline void smart_str_0(smart_str *str) {
81
1.88M
  if (str->s) {
82
1.88M
    ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0';
83
1.88M
  }
84
1.88M
}
Unexecuted instantiation: php_date.c:smart_str_0
Unexecuted instantiation: php_pcre.c:smart_str_0
Unexecuted instantiation: hash.c:smart_str_0
Unexecuted instantiation: json_encoder.c:smart_str_0
Unexecuted instantiation: json.c:smart_str_0
Unexecuted instantiation: zend_jit.c:smart_str_0
Unexecuted instantiation: php_reflection.c:smart_str_0
Unexecuted instantiation: spl_array.c:smart_str_0
Unexecuted instantiation: spl_dllist.c:smart_str_0
Unexecuted instantiation: spl_iterators.c:smart_str_0
Unexecuted instantiation: spl_observer.c:smart_str_0
Unexecuted instantiation: array.c:smart_str_0
Unexecuted instantiation: basic_functions.c:smart_str_0
Unexecuted instantiation: file.c:smart_str_0
Unexecuted instantiation: filters.c:smart_str_0
Unexecuted instantiation: head.c:smart_str_0
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_0
Unexecuted instantiation: http.c:smart_str_0
Unexecuted instantiation: mail.c:smart_str_0
Unexecuted instantiation: proc_open.c:smart_str_0
Unexecuted instantiation: string.c:smart_str_0
Unexecuted instantiation: url_scanner_ex.c:smart_str_0
Unexecuted instantiation: url.c:smart_str_0
Unexecuted instantiation: var.c:smart_str_0
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_0
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_0
Unexecuted instantiation: fopen_wrappers.c:smart_str_0
Unexecuted instantiation: php_variables.c:smart_str_0
Unexecuted instantiation: spprintf.c:smart_str_0
Unexecuted instantiation: zend_dump.c:smart_str_0
zend_ast.c:smart_str_0
Line
Count
Source
80
12.8k
static zend_always_inline void smart_str_0(smart_str *str) {
81
12.8k
  if (str->s) {
82
12.8k
    ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0';
83
12.8k
  }
84
12.8k
}
zend_attributes.c:smart_str_0
Line
Count
Source
80
24
static zend_always_inline void smart_str_0(smart_str *str) {
81
24
  if (str->s) {
82
24
    ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0';
83
24
  }
84
24
}
Unexecuted instantiation: zend_builtin_functions.c:smart_str_0
zend_exceptions.c:smart_str_0
Line
Count
Source
80
2.24k
static zend_always_inline void smart_str_0(smart_str *str) {
81
2.24k
  if (str->s) {
82
2.24k
    ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0';
83
2.24k
  }
84
2.24k
}
Unexecuted instantiation: zend_execute.c:smart_str_0
zend_inheritance.c:smart_str_0
Line
Count
Source
80
958
static zend_always_inline void smart_str_0(smart_str *str) {
81
958
  if (str->s) {
82
958
    ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0';
83
958
  }
84
958
}
Unexecuted instantiation: zend_ini.c:smart_str_0
Unexecuted instantiation: zend_smart_str.c:smart_str_0
zend.c:smart_str_0
Line
Count
Source
80
1.87M
static zend_always_inline void smart_str_0(smart_str *str) {
81
1.87M
  if (str->s) {
82
1.87M
    ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0';
83
1.87M
  }
84
1.87M
}
85
86
36
static zend_always_inline size_t smart_str_get_len(smart_str *str) {
87
36
  return str->s ? ZSTR_LEN(str->s) : 0;
88
36
}
Unexecuted instantiation: php_date.c:smart_str_get_len
Unexecuted instantiation: php_pcre.c:smart_str_get_len
Unexecuted instantiation: hash.c:smart_str_get_len
Unexecuted instantiation: json_encoder.c:smart_str_get_len
Unexecuted instantiation: json.c:smart_str_get_len
Unexecuted instantiation: zend_jit.c:smart_str_get_len
Unexecuted instantiation: php_reflection.c:smart_str_get_len
Unexecuted instantiation: spl_array.c:smart_str_get_len
Unexecuted instantiation: spl_dllist.c:smart_str_get_len
Unexecuted instantiation: spl_iterators.c:smart_str_get_len
Unexecuted instantiation: spl_observer.c:smart_str_get_len
Unexecuted instantiation: array.c:smart_str_get_len
Unexecuted instantiation: basic_functions.c:smart_str_get_len
Unexecuted instantiation: file.c:smart_str_get_len
Unexecuted instantiation: filters.c:smart_str_get_len
Unexecuted instantiation: head.c:smart_str_get_len
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_get_len
Unexecuted instantiation: http.c:smart_str_get_len
Unexecuted instantiation: mail.c:smart_str_get_len
Unexecuted instantiation: proc_open.c:smart_str_get_len
Unexecuted instantiation: string.c:smart_str_get_len
Unexecuted instantiation: url_scanner_ex.c:smart_str_get_len
Unexecuted instantiation: url.c:smart_str_get_len
Unexecuted instantiation: var.c:smart_str_get_len
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_get_len
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_get_len
Unexecuted instantiation: fopen_wrappers.c:smart_str_get_len
Unexecuted instantiation: php_variables.c:smart_str_get_len
Unexecuted instantiation: spprintf.c:smart_str_get_len
Unexecuted instantiation: zend_dump.c:smart_str_get_len
Unexecuted instantiation: zend_ast.c:smart_str_get_len
zend_attributes.c:smart_str_get_len
Line
Count
Source
86
36
static zend_always_inline size_t smart_str_get_len(smart_str *str) {
87
36
  return str->s ? ZSTR_LEN(str->s) : 0;
88
36
}
Unexecuted instantiation: zend_builtin_functions.c:smart_str_get_len
Unexecuted instantiation: zend_exceptions.c:smart_str_get_len
Unexecuted instantiation: zend_execute.c:smart_str_get_len
Unexecuted instantiation: zend_inheritance.c:smart_str_get_len
Unexecuted instantiation: zend_ini.c:smart_str_get_len
Unexecuted instantiation: zend_smart_str.c:smart_str_get_len
Unexecuted instantiation: zend.c:smart_str_get_len
89
90
static zend_always_inline void smart_str_trim_to_size_ex(smart_str *str, bool persistent)
91
1.87M
{
92
1.87M
  if (str->s && str->a > ZSTR_LEN(str->s)) {
93
1.87M
    str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent);
94
1.87M
    str->a = ZSTR_LEN(str->s);
95
1.87M
  }
96
1.87M
}
Unexecuted instantiation: php_date.c:smart_str_trim_to_size_ex
Unexecuted instantiation: php_pcre.c:smart_str_trim_to_size_ex
Unexecuted instantiation: hash.c:smart_str_trim_to_size_ex
Unexecuted instantiation: json_encoder.c:smart_str_trim_to_size_ex
Unexecuted instantiation: json.c:smart_str_trim_to_size_ex
Unexecuted instantiation: zend_jit.c:smart_str_trim_to_size_ex
Unexecuted instantiation: php_reflection.c:smart_str_trim_to_size_ex
Unexecuted instantiation: spl_array.c:smart_str_trim_to_size_ex
Unexecuted instantiation: spl_dllist.c:smart_str_trim_to_size_ex
Unexecuted instantiation: spl_iterators.c:smart_str_trim_to_size_ex
Unexecuted instantiation: spl_observer.c:smart_str_trim_to_size_ex
Unexecuted instantiation: array.c:smart_str_trim_to_size_ex
Unexecuted instantiation: basic_functions.c:smart_str_trim_to_size_ex
Unexecuted instantiation: file.c:smart_str_trim_to_size_ex
Unexecuted instantiation: filters.c:smart_str_trim_to_size_ex
Unexecuted instantiation: head.c:smart_str_trim_to_size_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_trim_to_size_ex
Unexecuted instantiation: http.c:smart_str_trim_to_size_ex
Unexecuted instantiation: mail.c:smart_str_trim_to_size_ex
Unexecuted instantiation: proc_open.c:smart_str_trim_to_size_ex
Unexecuted instantiation: string.c:smart_str_trim_to_size_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_trim_to_size_ex
Unexecuted instantiation: url.c:smart_str_trim_to_size_ex
Unexecuted instantiation: var.c:smart_str_trim_to_size_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_trim_to_size_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_trim_to_size_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_trim_to_size_ex
Unexecuted instantiation: php_variables.c:smart_str_trim_to_size_ex
Unexecuted instantiation: spprintf.c:smart_str_trim_to_size_ex
Unexecuted instantiation: zend_dump.c:smart_str_trim_to_size_ex
Unexecuted instantiation: zend_ast.c:smart_str_trim_to_size_ex
zend_attributes.c:smart_str_trim_to_size_ex
Line
Count
Source
91
24
{
92
24
  if (str->s && str->a > ZSTR_LEN(str->s)) {
93
24
    str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent);
94
24
    str->a = ZSTR_LEN(str->s);
95
24
  }
96
24
}
Unexecuted instantiation: zend_builtin_functions.c:smart_str_trim_to_size_ex
Unexecuted instantiation: zend_exceptions.c:smart_str_trim_to_size_ex
Unexecuted instantiation: zend_execute.c:smart_str_trim_to_size_ex
Unexecuted instantiation: zend_inheritance.c:smart_str_trim_to_size_ex
Unexecuted instantiation: zend_ini.c:smart_str_trim_to_size_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_trim_to_size_ex
zend.c:smart_str_trim_to_size_ex
Line
Count
Source
91
1.87M
{
92
1.87M
  if (str->s && str->a > ZSTR_LEN(str->s)) {
93
1.87M
    str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent);
94
1.87M
    str->a = ZSTR_LEN(str->s);
95
1.87M
  }
96
1.87M
}
97
98
static zend_always_inline void smart_str_trim_to_size(smart_str *dest)
99
0
{
100
0
  smart_str_trim_to_size_ex(dest, false);
101
0
}
Unexecuted instantiation: php_date.c:smart_str_trim_to_size
Unexecuted instantiation: php_pcre.c:smart_str_trim_to_size
Unexecuted instantiation: hash.c:smart_str_trim_to_size
Unexecuted instantiation: json_encoder.c:smart_str_trim_to_size
Unexecuted instantiation: json.c:smart_str_trim_to_size
Unexecuted instantiation: zend_jit.c:smart_str_trim_to_size
Unexecuted instantiation: php_reflection.c:smart_str_trim_to_size
Unexecuted instantiation: spl_array.c:smart_str_trim_to_size
Unexecuted instantiation: spl_dllist.c:smart_str_trim_to_size
Unexecuted instantiation: spl_iterators.c:smart_str_trim_to_size
Unexecuted instantiation: spl_observer.c:smart_str_trim_to_size
Unexecuted instantiation: array.c:smart_str_trim_to_size
Unexecuted instantiation: basic_functions.c:smart_str_trim_to_size
Unexecuted instantiation: file.c:smart_str_trim_to_size
Unexecuted instantiation: filters.c:smart_str_trim_to_size
Unexecuted instantiation: head.c:smart_str_trim_to_size
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_trim_to_size
Unexecuted instantiation: http.c:smart_str_trim_to_size
Unexecuted instantiation: mail.c:smart_str_trim_to_size
Unexecuted instantiation: proc_open.c:smart_str_trim_to_size
Unexecuted instantiation: string.c:smart_str_trim_to_size
Unexecuted instantiation: url_scanner_ex.c:smart_str_trim_to_size
Unexecuted instantiation: url.c:smart_str_trim_to_size
Unexecuted instantiation: var.c:smart_str_trim_to_size
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_trim_to_size
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_trim_to_size
Unexecuted instantiation: fopen_wrappers.c:smart_str_trim_to_size
Unexecuted instantiation: php_variables.c:smart_str_trim_to_size
Unexecuted instantiation: spprintf.c:smart_str_trim_to_size
Unexecuted instantiation: zend_dump.c:smart_str_trim_to_size
Unexecuted instantiation: zend_ast.c:smart_str_trim_to_size
Unexecuted instantiation: zend_attributes.c:smart_str_trim_to_size
Unexecuted instantiation: zend_builtin_functions.c:smart_str_trim_to_size
Unexecuted instantiation: zend_exceptions.c:smart_str_trim_to_size
Unexecuted instantiation: zend_execute.c:smart_str_trim_to_size
Unexecuted instantiation: zend_inheritance.c:smart_str_trim_to_size
Unexecuted instantiation: zend_ini.c:smart_str_trim_to_size
Unexecuted instantiation: zend_smart_str.c:smart_str_trim_to_size
Unexecuted instantiation: zend.c:smart_str_trim_to_size
102
103
1.87M
static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) {
104
1.87M
  if (str->s) {
105
1.87M
    zend_string *res;
106
1.87M
    smart_str_0(str);
107
1.87M
    smart_str_trim_to_size_ex(str, persistent);
108
1.87M
    res = str->s;
109
1.87M
    str->s = NULL;
110
1.87M
    return res;
111
1.87M
  } else {
112
0
    return ZSTR_EMPTY_ALLOC();
113
0
  }
114
1.87M
}
Unexecuted instantiation: php_date.c:smart_str_extract_ex
Unexecuted instantiation: php_pcre.c:smart_str_extract_ex
Unexecuted instantiation: hash.c:smart_str_extract_ex
Unexecuted instantiation: json_encoder.c:smart_str_extract_ex
Unexecuted instantiation: json.c:smart_str_extract_ex
Unexecuted instantiation: zend_jit.c:smart_str_extract_ex
Unexecuted instantiation: php_reflection.c:smart_str_extract_ex
Unexecuted instantiation: spl_array.c:smart_str_extract_ex
Unexecuted instantiation: spl_dllist.c:smart_str_extract_ex
Unexecuted instantiation: spl_iterators.c:smart_str_extract_ex
Unexecuted instantiation: spl_observer.c:smart_str_extract_ex
Unexecuted instantiation: array.c:smart_str_extract_ex
Unexecuted instantiation: basic_functions.c:smart_str_extract_ex
Unexecuted instantiation: file.c:smart_str_extract_ex
Unexecuted instantiation: filters.c:smart_str_extract_ex
Unexecuted instantiation: head.c:smart_str_extract_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_extract_ex
Unexecuted instantiation: http.c:smart_str_extract_ex
Unexecuted instantiation: mail.c:smart_str_extract_ex
Unexecuted instantiation: proc_open.c:smart_str_extract_ex
Unexecuted instantiation: string.c:smart_str_extract_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_extract_ex
Unexecuted instantiation: url.c:smart_str_extract_ex
Unexecuted instantiation: var.c:smart_str_extract_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extract_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extract_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_extract_ex
Unexecuted instantiation: php_variables.c:smart_str_extract_ex
Unexecuted instantiation: spprintf.c:smart_str_extract_ex
Unexecuted instantiation: zend_dump.c:smart_str_extract_ex
Unexecuted instantiation: zend_ast.c:smart_str_extract_ex
zend_attributes.c:smart_str_extract_ex
Line
Count
Source
103
24
static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) {
104
24
  if (str->s) {
105
24
    zend_string *res;
106
24
    smart_str_0(str);
107
24
    smart_str_trim_to_size_ex(str, persistent);
108
24
    res = str->s;
109
24
    str->s = NULL;
110
24
    return res;
111
24
  } else {
112
0
    return ZSTR_EMPTY_ALLOC();
113
0
  }
114
24
}
Unexecuted instantiation: zend_builtin_functions.c:smart_str_extract_ex
Unexecuted instantiation: zend_exceptions.c:smart_str_extract_ex
Unexecuted instantiation: zend_execute.c:smart_str_extract_ex
Unexecuted instantiation: zend_inheritance.c:smart_str_extract_ex
Unexecuted instantiation: zend_ini.c:smart_str_extract_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_extract_ex
zend.c:smart_str_extract_ex
Line
Count
Source
103
1.87M
static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) {
104
1.87M
  if (str->s) {
105
1.87M
    zend_string *res;
106
1.87M
    smart_str_0(str);
107
1.87M
    smart_str_trim_to_size_ex(str, persistent);
108
1.87M
    res = str->s;
109
1.87M
    str->s = NULL;
110
1.87M
    return res;
111
1.87M
  } else {
112
0
    return ZSTR_EMPTY_ALLOC();
113
0
  }
114
1.87M
}
115
116
static zend_always_inline zend_string *smart_str_extract(smart_str *dest)
117
1.87M
{
118
1.87M
  return smart_str_extract_ex(dest, false);
119
1.87M
}
Unexecuted instantiation: php_date.c:smart_str_extract
Unexecuted instantiation: php_pcre.c:smart_str_extract
Unexecuted instantiation: hash.c:smart_str_extract
Unexecuted instantiation: json_encoder.c:smart_str_extract
Unexecuted instantiation: json.c:smart_str_extract
Unexecuted instantiation: zend_jit.c:smart_str_extract
Unexecuted instantiation: php_reflection.c:smart_str_extract
Unexecuted instantiation: spl_array.c:smart_str_extract
Unexecuted instantiation: spl_dllist.c:smart_str_extract
Unexecuted instantiation: spl_iterators.c:smart_str_extract
Unexecuted instantiation: spl_observer.c:smart_str_extract
Unexecuted instantiation: array.c:smart_str_extract
Unexecuted instantiation: basic_functions.c:smart_str_extract
Unexecuted instantiation: file.c:smart_str_extract
Unexecuted instantiation: filters.c:smart_str_extract
Unexecuted instantiation: head.c:smart_str_extract
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_extract
Unexecuted instantiation: http.c:smart_str_extract
Unexecuted instantiation: mail.c:smart_str_extract
Unexecuted instantiation: proc_open.c:smart_str_extract
Unexecuted instantiation: string.c:smart_str_extract
Unexecuted instantiation: url_scanner_ex.c:smart_str_extract
Unexecuted instantiation: url.c:smart_str_extract
Unexecuted instantiation: var.c:smart_str_extract
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extract
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extract
Unexecuted instantiation: fopen_wrappers.c:smart_str_extract
Unexecuted instantiation: php_variables.c:smart_str_extract
Unexecuted instantiation: spprintf.c:smart_str_extract
Unexecuted instantiation: zend_dump.c:smart_str_extract
Unexecuted instantiation: zend_ast.c:smart_str_extract
zend_attributes.c:smart_str_extract
Line
Count
Source
117
24
{
118
  return smart_str_extract_ex(dest, false);
119
24
}
Unexecuted instantiation: zend_builtin_functions.c:smart_str_extract
Unexecuted instantiation: zend_exceptions.c:smart_str_extract
Unexecuted instantiation: zend_execute.c:smart_str_extract
Unexecuted instantiation: zend_inheritance.c:smart_str_extract
Unexecuted instantiation: zend_ini.c:smart_str_extract
Unexecuted instantiation: zend_smart_str.c:smart_str_extract
zend.c:smart_str_extract
Line
Count
Source
117
1.87M
{
118
  return smart_str_extract_ex(dest, false);
119
1.87M
}
120
121
31.5M
static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) {
122
31.5M
  size_t new_len = smart_str_alloc(dest, 1, persistent);
123
31.5M
  ZSTR_VAL(dest->s)[new_len - 1] = ch;
124
31.5M
  ZSTR_LEN(dest->s) = new_len;
125
31.5M
}
Unexecuted instantiation: php_date.c:smart_str_appendc_ex
Unexecuted instantiation: php_pcre.c:smart_str_appendc_ex
Unexecuted instantiation: hash.c:smart_str_appendc_ex
Unexecuted instantiation: json_encoder.c:smart_str_appendc_ex
Unexecuted instantiation: json.c:smart_str_appendc_ex
Unexecuted instantiation: zend_jit.c:smart_str_appendc_ex
Unexecuted instantiation: php_reflection.c:smart_str_appendc_ex
Unexecuted instantiation: spl_array.c:smart_str_appendc_ex
Unexecuted instantiation: spl_dllist.c:smart_str_appendc_ex
Unexecuted instantiation: spl_iterators.c:smart_str_appendc_ex
Unexecuted instantiation: spl_observer.c:smart_str_appendc_ex
Unexecuted instantiation: array.c:smart_str_appendc_ex
Unexecuted instantiation: basic_functions.c:smart_str_appendc_ex
Unexecuted instantiation: file.c:smart_str_appendc_ex
Unexecuted instantiation: filters.c:smart_str_appendc_ex
Unexecuted instantiation: head.c:smart_str_appendc_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appendc_ex
Unexecuted instantiation: http.c:smart_str_appendc_ex
Unexecuted instantiation: mail.c:smart_str_appendc_ex
Unexecuted instantiation: proc_open.c:smart_str_appendc_ex
Unexecuted instantiation: string.c:smart_str_appendc_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_appendc_ex
Unexecuted instantiation: url.c:smart_str_appendc_ex
Unexecuted instantiation: var.c:smart_str_appendc_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appendc_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appendc_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_appendc_ex
Unexecuted instantiation: php_variables.c:smart_str_appendc_ex
spprintf.c:smart_str_appendc_ex
Line
Count
Source
121
27.1M
static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) {
122
27.1M
  size_t new_len = smart_str_alloc(dest, 1, persistent);
123
27.1M
  ZSTR_VAL(dest->s)[new_len - 1] = ch;
124
27.1M
  ZSTR_LEN(dest->s) = new_len;
125
27.1M
}
Unexecuted instantiation: zend_dump.c:smart_str_appendc_ex
zend_ast.c:smart_str_appendc_ex
Line
Count
Source
121
4.39M
static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) {
122
4.39M
  size_t new_len = smart_str_alloc(dest, 1, persistent);
123
4.39M
  ZSTR_VAL(dest->s)[new_len - 1] = ch;
124
4.39M
  ZSTR_LEN(dest->s) = new_len;
125
4.39M
}
Unexecuted instantiation: zend_attributes.c:smart_str_appendc_ex
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendc_ex
zend_exceptions.c:smart_str_appendc_ex
Line
Count
Source
121
2.24k
static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) {
122
2.24k
  size_t new_len = smart_str_alloc(dest, 1, persistent);
123
2.24k
  ZSTR_VAL(dest->s)[new_len - 1] = ch;
124
2.24k
  ZSTR_LEN(dest->s) = new_len;
125
2.24k
}
Unexecuted instantiation: zend_execute.c:smart_str_appendc_ex
zend_inheritance.c:smart_str_appendc_ex
Line
Count
Source
121
5.34k
static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) {
122
5.34k
  size_t new_len = smart_str_alloc(dest, 1, persistent);
123
5.34k
  ZSTR_VAL(dest->s)[new_len - 1] = ch;
124
5.34k
  ZSTR_LEN(dest->s) = new_len;
125
5.34k
}
Unexecuted instantiation: zend_ini.c:smart_str_appendc_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_appendc_ex
Unexecuted instantiation: zend.c:smart_str_appendc_ex
126
127
13.3M
static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) {
128
13.3M
  size_t new_len = smart_str_alloc(dest, len, persistent);
129
13.3M
  memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len);
130
13.3M
  ZSTR_LEN(dest->s) = new_len;
131
13.3M
}
Unexecuted instantiation: php_date.c:smart_str_appendl_ex
Unexecuted instantiation: php_pcre.c:smart_str_appendl_ex
Unexecuted instantiation: hash.c:smart_str_appendl_ex
Unexecuted instantiation: json_encoder.c:smart_str_appendl_ex
Unexecuted instantiation: json.c:smart_str_appendl_ex
Unexecuted instantiation: zend_jit.c:smart_str_appendl_ex
Unexecuted instantiation: php_reflection.c:smart_str_appendl_ex
Unexecuted instantiation: spl_array.c:smart_str_appendl_ex
Unexecuted instantiation: spl_dllist.c:smart_str_appendl_ex
Unexecuted instantiation: spl_iterators.c:smart_str_appendl_ex
Unexecuted instantiation: spl_observer.c:smart_str_appendl_ex
Unexecuted instantiation: array.c:smart_str_appendl_ex
Unexecuted instantiation: basic_functions.c:smart_str_appendl_ex
Unexecuted instantiation: file.c:smart_str_appendl_ex
Unexecuted instantiation: filters.c:smart_str_appendl_ex
Unexecuted instantiation: head.c:smart_str_appendl_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appendl_ex
Unexecuted instantiation: http.c:smart_str_appendl_ex
Unexecuted instantiation: mail.c:smart_str_appendl_ex
Unexecuted instantiation: proc_open.c:smart_str_appendl_ex
Unexecuted instantiation: string.c:smart_str_appendl_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_appendl_ex
Unexecuted instantiation: url.c:smart_str_appendl_ex
Unexecuted instantiation: var.c:smart_str_appendl_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appendl_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appendl_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_appendl_ex
Unexecuted instantiation: php_variables.c:smart_str_appendl_ex
spprintf.c:smart_str_appendl_ex
Line
Count
Source
127
8.81M
static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) {
128
8.81M
  size_t new_len = smart_str_alloc(dest, len, persistent);
129
8.81M
  memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len);
130
8.81M
  ZSTR_LEN(dest->s) = new_len;
131
8.81M
}
Unexecuted instantiation: zend_dump.c:smart_str_appendl_ex
zend_ast.c:smart_str_appendl_ex
Line
Count
Source
127
4.22M
static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) {
128
4.22M
  size_t new_len = smart_str_alloc(dest, len, persistent);
129
4.22M
  memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len);
130
4.22M
  ZSTR_LEN(dest->s) = new_len;
131
4.22M
}
zend_attributes.c:smart_str_appendl_ex
Line
Count
Source
127
48
static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) {
128
48
  size_t new_len = smart_str_alloc(dest, len, persistent);
129
48
  memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len);
130
48
  ZSTR_LEN(dest->s) = new_len;
131
48
}
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendl_ex
zend_exceptions.c:smart_str_appendl_ex
Line
Count
Source
127
4.49k
static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) {
128
4.49k
  size_t new_len = smart_str_alloc(dest, len, persistent);
129
4.49k
  memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len);
130
4.49k
  ZSTR_LEN(dest->s) = new_len;
131
4.49k
}
Unexecuted instantiation: zend_execute.c:smart_str_appendl_ex
zend_inheritance.c:smart_str_appendl_ex
Line
Count
Source
127
10.5k
static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) {
128
10.5k
  size_t new_len = smart_str_alloc(dest, len, persistent);
129
10.5k
  memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len);
130
10.5k
  ZSTR_LEN(dest->s) = new_len;
131
10.5k
}
Unexecuted instantiation: zend_ini.c:smart_str_appendl_ex
zend_smart_str.c:smart_str_appendl_ex
Line
Count
Source
127
330k
static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) {
128
330k
  size_t new_len = smart_str_alloc(dest, len, persistent);
129
330k
  memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len);
130
330k
  ZSTR_LEN(dest->s) = new_len;
131
330k
}
Unexecuted instantiation: zend.c:smart_str_appendl_ex
132
133
1.17M
static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) {
134
1.17M
  smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent);
135
1.17M
}
Unexecuted instantiation: php_date.c:smart_str_append_ex
Unexecuted instantiation: php_pcre.c:smart_str_append_ex
Unexecuted instantiation: hash.c:smart_str_append_ex
Unexecuted instantiation: json_encoder.c:smart_str_append_ex
Unexecuted instantiation: json.c:smart_str_append_ex
Unexecuted instantiation: zend_jit.c:smart_str_append_ex
Unexecuted instantiation: php_reflection.c:smart_str_append_ex
Unexecuted instantiation: spl_array.c:smart_str_append_ex
Unexecuted instantiation: spl_dllist.c:smart_str_append_ex
Unexecuted instantiation: spl_iterators.c:smart_str_append_ex
Unexecuted instantiation: spl_observer.c:smart_str_append_ex
Unexecuted instantiation: array.c:smart_str_append_ex
Unexecuted instantiation: basic_functions.c:smart_str_append_ex
Unexecuted instantiation: file.c:smart_str_append_ex
Unexecuted instantiation: filters.c:smart_str_append_ex
Unexecuted instantiation: head.c:smart_str_append_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_ex
Unexecuted instantiation: http.c:smart_str_append_ex
Unexecuted instantiation: mail.c:smart_str_append_ex
Unexecuted instantiation: proc_open.c:smart_str_append_ex
Unexecuted instantiation: string.c:smart_str_append_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_append_ex
Unexecuted instantiation: url.c:smart_str_append_ex
Unexecuted instantiation: var.c:smart_str_append_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_append_ex
Unexecuted instantiation: php_variables.c:smart_str_append_ex
Unexecuted instantiation: spprintf.c:smart_str_append_ex
Unexecuted instantiation: zend_dump.c:smart_str_append_ex
zend_ast.c:smart_str_append_ex
Line
Count
Source
133
1.17M
static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) {
134
1.17M
  smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent);
135
1.17M
}
Unexecuted instantiation: zend_attributes.c:smart_str_append_ex
Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_ex
Unexecuted instantiation: zend_exceptions.c:smart_str_append_ex
Unexecuted instantiation: zend_execute.c:smart_str_append_ex
zend_inheritance.c:smart_str_append_ex
Line
Count
Source
133
6.28k
static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) {
134
6.28k
  smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent);
135
6.28k
}
Unexecuted instantiation: zend_ini.c:smart_str_append_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_append_ex
Unexecuted instantiation: zend.c:smart_str_append_ex
136
137
0
static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, bool persistent) {
138
0
  if (src->s && ZSTR_LEN(src->s)) {
139
0
    smart_str_append_ex(dest, src->s, persistent);
140
0
  }
141
0
}
Unexecuted instantiation: php_date.c:smart_str_append_smart_str_ex
Unexecuted instantiation: php_pcre.c:smart_str_append_smart_str_ex
Unexecuted instantiation: hash.c:smart_str_append_smart_str_ex
Unexecuted instantiation: json_encoder.c:smart_str_append_smart_str_ex
Unexecuted instantiation: json.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_jit.c:smart_str_append_smart_str_ex
Unexecuted instantiation: php_reflection.c:smart_str_append_smart_str_ex
Unexecuted instantiation: spl_array.c:smart_str_append_smart_str_ex
Unexecuted instantiation: spl_dllist.c:smart_str_append_smart_str_ex
Unexecuted instantiation: spl_iterators.c:smart_str_append_smart_str_ex
Unexecuted instantiation: spl_observer.c:smart_str_append_smart_str_ex
Unexecuted instantiation: array.c:smart_str_append_smart_str_ex
Unexecuted instantiation: basic_functions.c:smart_str_append_smart_str_ex
Unexecuted instantiation: file.c:smart_str_append_smart_str_ex
Unexecuted instantiation: filters.c:smart_str_append_smart_str_ex
Unexecuted instantiation: head.c:smart_str_append_smart_str_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_smart_str_ex
Unexecuted instantiation: http.c:smart_str_append_smart_str_ex
Unexecuted instantiation: mail.c:smart_str_append_smart_str_ex
Unexecuted instantiation: proc_open.c:smart_str_append_smart_str_ex
Unexecuted instantiation: string.c:smart_str_append_smart_str_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_append_smart_str_ex
Unexecuted instantiation: url.c:smart_str_append_smart_str_ex
Unexecuted instantiation: var.c:smart_str_append_smart_str_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_smart_str_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_smart_str_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_append_smart_str_ex
Unexecuted instantiation: php_variables.c:smart_str_append_smart_str_ex
Unexecuted instantiation: spprintf.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_dump.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_ast.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_attributes.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_exceptions.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_execute.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_inheritance.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_ini.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_append_smart_str_ex
Unexecuted instantiation: zend.c:smart_str_append_smart_str_ex
142
143
198k
static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) {
144
198k
  char buf[32];
145
198k
  char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num);
146
198k
  smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent);
147
198k
}
Unexecuted instantiation: php_date.c:smart_str_append_long_ex
Unexecuted instantiation: php_pcre.c:smart_str_append_long_ex
Unexecuted instantiation: hash.c:smart_str_append_long_ex
Unexecuted instantiation: json_encoder.c:smart_str_append_long_ex
Unexecuted instantiation: json.c:smart_str_append_long_ex
Unexecuted instantiation: zend_jit.c:smart_str_append_long_ex
Unexecuted instantiation: php_reflection.c:smart_str_append_long_ex
Unexecuted instantiation: spl_array.c:smart_str_append_long_ex
Unexecuted instantiation: spl_dllist.c:smart_str_append_long_ex
Unexecuted instantiation: spl_iterators.c:smart_str_append_long_ex
Unexecuted instantiation: spl_observer.c:smart_str_append_long_ex
Unexecuted instantiation: array.c:smart_str_append_long_ex
Unexecuted instantiation: basic_functions.c:smart_str_append_long_ex
Unexecuted instantiation: file.c:smart_str_append_long_ex
Unexecuted instantiation: filters.c:smart_str_append_long_ex
Unexecuted instantiation: head.c:smart_str_append_long_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_long_ex
Unexecuted instantiation: http.c:smart_str_append_long_ex
Unexecuted instantiation: mail.c:smart_str_append_long_ex
Unexecuted instantiation: proc_open.c:smart_str_append_long_ex
Unexecuted instantiation: string.c:smart_str_append_long_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_append_long_ex
Unexecuted instantiation: url.c:smart_str_append_long_ex
Unexecuted instantiation: var.c:smart_str_append_long_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_long_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_long_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_append_long_ex
Unexecuted instantiation: php_variables.c:smart_str_append_long_ex
Unexecuted instantiation: spprintf.c:smart_str_append_long_ex
Unexecuted instantiation: zend_dump.c:smart_str_append_long_ex
zend_ast.c:smart_str_append_long_ex
Line
Count
Source
143
195k
static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) {
144
195k
  char buf[32];
145
195k
  char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num);
146
195k
  smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent);
147
195k
}
Unexecuted instantiation: zend_attributes.c:smart_str_append_long_ex
Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_long_ex
zend_exceptions.c:smart_str_append_long_ex
Line
Count
Source
143
2.24k
static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) {
144
2.24k
  char buf[32];
145
2.24k
  char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num);
146
2.24k
  smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent);
147
2.24k
}
Unexecuted instantiation: zend_execute.c:smart_str_append_long_ex
Unexecuted instantiation: zend_inheritance.c:smart_str_append_long_ex
Unexecuted instantiation: zend_ini.c:smart_str_append_long_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_append_long_ex
Unexecuted instantiation: zend.c:smart_str_append_long_ex
148
149
static zend_always_inline void smart_str_append_long(smart_str *dest, zend_long num)
150
198k
{
151
198k
  smart_str_append_long_ex(dest, num, false);
152
198k
}
Unexecuted instantiation: php_date.c:smart_str_append_long
Unexecuted instantiation: php_pcre.c:smart_str_append_long
Unexecuted instantiation: hash.c:smart_str_append_long
Unexecuted instantiation: json_encoder.c:smart_str_append_long
Unexecuted instantiation: json.c:smart_str_append_long
Unexecuted instantiation: zend_jit.c:smart_str_append_long
Unexecuted instantiation: php_reflection.c:smart_str_append_long
Unexecuted instantiation: spl_array.c:smart_str_append_long
Unexecuted instantiation: spl_dllist.c:smart_str_append_long
Unexecuted instantiation: spl_iterators.c:smart_str_append_long
Unexecuted instantiation: spl_observer.c:smart_str_append_long
Unexecuted instantiation: array.c:smart_str_append_long
Unexecuted instantiation: basic_functions.c:smart_str_append_long
Unexecuted instantiation: file.c:smart_str_append_long
Unexecuted instantiation: filters.c:smart_str_append_long
Unexecuted instantiation: head.c:smart_str_append_long
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_long
Unexecuted instantiation: http.c:smart_str_append_long
Unexecuted instantiation: mail.c:smart_str_append_long
Unexecuted instantiation: proc_open.c:smart_str_append_long
Unexecuted instantiation: string.c:smart_str_append_long
Unexecuted instantiation: url_scanner_ex.c:smart_str_append_long
Unexecuted instantiation: url.c:smart_str_append_long
Unexecuted instantiation: var.c:smart_str_append_long
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_long
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_long
Unexecuted instantiation: fopen_wrappers.c:smart_str_append_long
Unexecuted instantiation: php_variables.c:smart_str_append_long
Unexecuted instantiation: spprintf.c:smart_str_append_long
Unexecuted instantiation: zend_dump.c:smart_str_append_long
zend_ast.c:smart_str_append_long
Line
Count
Source
150
195k
{
151
  smart_str_append_long_ex(dest, num, false);
152
195k
}
Unexecuted instantiation: zend_attributes.c:smart_str_append_long
Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_long
zend_exceptions.c:smart_str_append_long
Line
Count
Source
150
2.24k
{
151
  smart_str_append_long_ex(dest, num, false);
152
2.24k
}
Unexecuted instantiation: zend_execute.c:smart_str_append_long
Unexecuted instantiation: zend_inheritance.c:smart_str_append_long
Unexecuted instantiation: zend_ini.c:smart_str_append_long
Unexecuted instantiation: zend_smart_str.c:smart_str_append_long
Unexecuted instantiation: zend.c:smart_str_append_long
153
154
0
static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, bool persistent) {
155
0
  char buf[32];
156
0
  char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num);
157
0
  smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent);
158
0
}
Unexecuted instantiation: php_date.c:smart_str_append_unsigned_ex
Unexecuted instantiation: php_pcre.c:smart_str_append_unsigned_ex
Unexecuted instantiation: hash.c:smart_str_append_unsigned_ex
Unexecuted instantiation: json_encoder.c:smart_str_append_unsigned_ex
Unexecuted instantiation: json.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_jit.c:smart_str_append_unsigned_ex
Unexecuted instantiation: php_reflection.c:smart_str_append_unsigned_ex
Unexecuted instantiation: spl_array.c:smart_str_append_unsigned_ex
Unexecuted instantiation: spl_dllist.c:smart_str_append_unsigned_ex
Unexecuted instantiation: spl_iterators.c:smart_str_append_unsigned_ex
Unexecuted instantiation: spl_observer.c:smart_str_append_unsigned_ex
Unexecuted instantiation: array.c:smart_str_append_unsigned_ex
Unexecuted instantiation: basic_functions.c:smart_str_append_unsigned_ex
Unexecuted instantiation: file.c:smart_str_append_unsigned_ex
Unexecuted instantiation: filters.c:smart_str_append_unsigned_ex
Unexecuted instantiation: head.c:smart_str_append_unsigned_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_unsigned_ex
Unexecuted instantiation: http.c:smart_str_append_unsigned_ex
Unexecuted instantiation: mail.c:smart_str_append_unsigned_ex
Unexecuted instantiation: proc_open.c:smart_str_append_unsigned_ex
Unexecuted instantiation: string.c:smart_str_append_unsigned_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_append_unsigned_ex
Unexecuted instantiation: url.c:smart_str_append_unsigned_ex
Unexecuted instantiation: var.c:smart_str_append_unsigned_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_unsigned_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_unsigned_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_append_unsigned_ex
Unexecuted instantiation: php_variables.c:smart_str_append_unsigned_ex
Unexecuted instantiation: spprintf.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_dump.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_ast.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_attributes.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_exceptions.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_execute.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_inheritance.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_ini.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_append_unsigned_ex
Unexecuted instantiation: zend.c:smart_str_append_unsigned_ex
159
160
static zend_always_inline void smart_str_append_unsigned(smart_str *dest, zend_ulong num)
161
0
{
162
0
  smart_str_append_unsigned_ex(dest, num, false);
163
0
}
Unexecuted instantiation: php_date.c:smart_str_append_unsigned
Unexecuted instantiation: php_pcre.c:smart_str_append_unsigned
Unexecuted instantiation: hash.c:smart_str_append_unsigned
Unexecuted instantiation: json_encoder.c:smart_str_append_unsigned
Unexecuted instantiation: json.c:smart_str_append_unsigned
Unexecuted instantiation: zend_jit.c:smart_str_append_unsigned
Unexecuted instantiation: php_reflection.c:smart_str_append_unsigned
Unexecuted instantiation: spl_array.c:smart_str_append_unsigned
Unexecuted instantiation: spl_dllist.c:smart_str_append_unsigned
Unexecuted instantiation: spl_iterators.c:smart_str_append_unsigned
Unexecuted instantiation: spl_observer.c:smart_str_append_unsigned
Unexecuted instantiation: array.c:smart_str_append_unsigned
Unexecuted instantiation: basic_functions.c:smart_str_append_unsigned
Unexecuted instantiation: file.c:smart_str_append_unsigned
Unexecuted instantiation: filters.c:smart_str_append_unsigned
Unexecuted instantiation: head.c:smart_str_append_unsigned
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_unsigned
Unexecuted instantiation: http.c:smart_str_append_unsigned
Unexecuted instantiation: mail.c:smart_str_append_unsigned
Unexecuted instantiation: proc_open.c:smart_str_append_unsigned
Unexecuted instantiation: string.c:smart_str_append_unsigned
Unexecuted instantiation: url_scanner_ex.c:smart_str_append_unsigned
Unexecuted instantiation: url.c:smart_str_append_unsigned
Unexecuted instantiation: var.c:smart_str_append_unsigned
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_unsigned
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_unsigned
Unexecuted instantiation: fopen_wrappers.c:smart_str_append_unsigned
Unexecuted instantiation: php_variables.c:smart_str_append_unsigned
Unexecuted instantiation: spprintf.c:smart_str_append_unsigned
Unexecuted instantiation: zend_dump.c:smart_str_append_unsigned
Unexecuted instantiation: zend_ast.c:smart_str_append_unsigned
Unexecuted instantiation: zend_attributes.c:smart_str_append_unsigned
Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_unsigned
Unexecuted instantiation: zend_exceptions.c:smart_str_append_unsigned
Unexecuted instantiation: zend_execute.c:smart_str_append_unsigned
Unexecuted instantiation: zend_inheritance.c:smart_str_append_unsigned
Unexecuted instantiation: zend_ini.c:smart_str_append_unsigned
Unexecuted instantiation: zend_smart_str.c:smart_str_append_unsigned
Unexecuted instantiation: zend.c:smart_str_append_unsigned
164
165
static zend_always_inline void smart_str_appendl(smart_str *dest, const char *src, size_t length)
166
8.96M
{
167
8.96M
  smart_str_appendl_ex(dest, src, length, false);
168
8.96M
}
Unexecuted instantiation: php_date.c:smart_str_appendl
Unexecuted instantiation: php_pcre.c:smart_str_appendl
Unexecuted instantiation: hash.c:smart_str_appendl
Unexecuted instantiation: json_encoder.c:smart_str_appendl
Unexecuted instantiation: json.c:smart_str_appendl
Unexecuted instantiation: zend_jit.c:smart_str_appendl
Unexecuted instantiation: php_reflection.c:smart_str_appendl
Unexecuted instantiation: spl_array.c:smart_str_appendl
Unexecuted instantiation: spl_dllist.c:smart_str_appendl
Unexecuted instantiation: spl_iterators.c:smart_str_appendl
Unexecuted instantiation: spl_observer.c:smart_str_appendl
Unexecuted instantiation: array.c:smart_str_appendl
Unexecuted instantiation: basic_functions.c:smart_str_appendl
Unexecuted instantiation: file.c:smart_str_appendl
Unexecuted instantiation: filters.c:smart_str_appendl
Unexecuted instantiation: head.c:smart_str_appendl
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appendl
Unexecuted instantiation: http.c:smart_str_appendl
Unexecuted instantiation: mail.c:smart_str_appendl
Unexecuted instantiation: proc_open.c:smart_str_appendl
Unexecuted instantiation: string.c:smart_str_appendl
Unexecuted instantiation: url_scanner_ex.c:smart_str_appendl
Unexecuted instantiation: url.c:smart_str_appendl
Unexecuted instantiation: var.c:smart_str_appendl
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appendl
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appendl
Unexecuted instantiation: fopen_wrappers.c:smart_str_appendl
Unexecuted instantiation: php_variables.c:smart_str_appendl
spprintf.c:smart_str_appendl
Line
Count
Source
166
8.81M
{
167
  smart_str_appendl_ex(dest, src, length, false);
168
8.81M
}
Unexecuted instantiation: zend_dump.c:smart_str_appendl
Unexecuted instantiation: zend_ast.c:smart_str_appendl
Unexecuted instantiation: zend_attributes.c:smart_str_appendl
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendl
Unexecuted instantiation: zend_exceptions.c:smart_str_appendl
Unexecuted instantiation: zend_execute.c:smart_str_appendl
zend_inheritance.c:smart_str_appendl
Line
Count
Source
166
59
{
167
  smart_str_appendl_ex(dest, src, length, false);
168
59
}
Unexecuted instantiation: zend_ini.c:smart_str_appendl
zend_smart_str.c:smart_str_appendl
Line
Count
Source
166
141k
{
167
  smart_str_appendl_ex(dest, src, length, false);
168
141k
}
Unexecuted instantiation: zend.c:smart_str_appendl
169
static zend_always_inline void smart_str_appends_ex(smart_str *dest, const char *src, bool persistent)
170
0
{
171
0
  smart_str_appendl_ex(dest, src, strlen(src), persistent);
172
0
}
Unexecuted instantiation: php_date.c:smart_str_appends_ex
Unexecuted instantiation: php_pcre.c:smart_str_appends_ex
Unexecuted instantiation: hash.c:smart_str_appends_ex
Unexecuted instantiation: json_encoder.c:smart_str_appends_ex
Unexecuted instantiation: json.c:smart_str_appends_ex
Unexecuted instantiation: zend_jit.c:smart_str_appends_ex
Unexecuted instantiation: php_reflection.c:smart_str_appends_ex
Unexecuted instantiation: spl_array.c:smart_str_appends_ex
Unexecuted instantiation: spl_dllist.c:smart_str_appends_ex
Unexecuted instantiation: spl_iterators.c:smart_str_appends_ex
Unexecuted instantiation: spl_observer.c:smart_str_appends_ex
Unexecuted instantiation: array.c:smart_str_appends_ex
Unexecuted instantiation: basic_functions.c:smart_str_appends_ex
Unexecuted instantiation: file.c:smart_str_appends_ex
Unexecuted instantiation: filters.c:smart_str_appends_ex
Unexecuted instantiation: head.c:smart_str_appends_ex
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appends_ex
Unexecuted instantiation: http.c:smart_str_appends_ex
Unexecuted instantiation: mail.c:smart_str_appends_ex
Unexecuted instantiation: proc_open.c:smart_str_appends_ex
Unexecuted instantiation: string.c:smart_str_appends_ex
Unexecuted instantiation: url_scanner_ex.c:smart_str_appends_ex
Unexecuted instantiation: url.c:smart_str_appends_ex
Unexecuted instantiation: var.c:smart_str_appends_ex
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appends_ex
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appends_ex
Unexecuted instantiation: fopen_wrappers.c:smart_str_appends_ex
Unexecuted instantiation: php_variables.c:smart_str_appends_ex
Unexecuted instantiation: spprintf.c:smart_str_appends_ex
Unexecuted instantiation: zend_dump.c:smart_str_appends_ex
Unexecuted instantiation: zend_ast.c:smart_str_appends_ex
Unexecuted instantiation: zend_attributes.c:smart_str_appends_ex
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appends_ex
Unexecuted instantiation: zend_exceptions.c:smart_str_appends_ex
Unexecuted instantiation: zend_execute.c:smart_str_appends_ex
Unexecuted instantiation: zend_inheritance.c:smart_str_appends_ex
Unexecuted instantiation: zend_ini.c:smart_str_appends_ex
Unexecuted instantiation: zend_smart_str.c:smart_str_appends_ex
Unexecuted instantiation: zend.c:smart_str_appends_ex
173
static zend_always_inline void smart_str_appends(smart_str *dest, const char *src)
174
3.05M
{
175
3.05M
  smart_str_appendl_ex(dest, src, strlen(src), false);
176
3.05M
}
Unexecuted instantiation: php_date.c:smart_str_appends
Unexecuted instantiation: php_pcre.c:smart_str_appends
Unexecuted instantiation: hash.c:smart_str_appends
Unexecuted instantiation: json_encoder.c:smart_str_appends
Unexecuted instantiation: json.c:smart_str_appends
Unexecuted instantiation: zend_jit.c:smart_str_appends
Unexecuted instantiation: php_reflection.c:smart_str_appends
Unexecuted instantiation: spl_array.c:smart_str_appends
Unexecuted instantiation: spl_dllist.c:smart_str_appends
Unexecuted instantiation: spl_iterators.c:smart_str_appends
Unexecuted instantiation: spl_observer.c:smart_str_appends
Unexecuted instantiation: array.c:smart_str_appends
Unexecuted instantiation: basic_functions.c:smart_str_appends
Unexecuted instantiation: file.c:smart_str_appends
Unexecuted instantiation: filters.c:smart_str_appends
Unexecuted instantiation: head.c:smart_str_appends
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appends
Unexecuted instantiation: http.c:smart_str_appends
Unexecuted instantiation: mail.c:smart_str_appends
Unexecuted instantiation: proc_open.c:smart_str_appends
Unexecuted instantiation: string.c:smart_str_appends
Unexecuted instantiation: url_scanner_ex.c:smart_str_appends
Unexecuted instantiation: url.c:smart_str_appends
Unexecuted instantiation: var.c:smart_str_appends
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appends
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appends
Unexecuted instantiation: fopen_wrappers.c:smart_str_appends
Unexecuted instantiation: php_variables.c:smart_str_appends
Unexecuted instantiation: spprintf.c:smart_str_appends
Unexecuted instantiation: zend_dump.c:smart_str_appends
zend_ast.c:smart_str_appends
Line
Count
Source
174
2.85M
{
175
  smart_str_appendl_ex(dest, src, strlen(src), false);
176
2.85M
}
zend_attributes.c:smart_str_appends
Line
Count
Source
174
48
{
175
  smart_str_appendl_ex(dest, src, strlen(src), false);
176
48
}
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appends
zend_exceptions.c:smart_str_appends
Line
Count
Source
174
2.24k
{
175
  smart_str_appendl_ex(dest, src, strlen(src), false);
176
2.24k
}
Unexecuted instantiation: zend_execute.c:smart_str_appends
zend_inheritance.c:smart_str_appends
Line
Count
Source
174
4.15k
{
175
  smart_str_appendl_ex(dest, src, strlen(src), false);
176
4.15k
}
Unexecuted instantiation: zend_ini.c:smart_str_appends
zend_smart_str.c:smart_str_appends
Line
Count
Source
174
189k
{
175
  smart_str_appendl_ex(dest, src, strlen(src), false);
176
189k
}
Unexecuted instantiation: zend.c:smart_str_appends
177
static zend_always_inline void smart_str_append(smart_str *dest, const zend_string *src)
178
1.17M
{
179
1.17M
  smart_str_append_ex(dest, src, false);
180
1.17M
}
Unexecuted instantiation: php_date.c:smart_str_append
Unexecuted instantiation: php_pcre.c:smart_str_append
Unexecuted instantiation: hash.c:smart_str_append
Unexecuted instantiation: json_encoder.c:smart_str_append
Unexecuted instantiation: json.c:smart_str_append
Unexecuted instantiation: zend_jit.c:smart_str_append
Unexecuted instantiation: php_reflection.c:smart_str_append
Unexecuted instantiation: spl_array.c:smart_str_append
Unexecuted instantiation: spl_dllist.c:smart_str_append
Unexecuted instantiation: spl_iterators.c:smart_str_append
Unexecuted instantiation: spl_observer.c:smart_str_append
Unexecuted instantiation: array.c:smart_str_append
Unexecuted instantiation: basic_functions.c:smart_str_append
Unexecuted instantiation: file.c:smart_str_append
Unexecuted instantiation: filters.c:smart_str_append
Unexecuted instantiation: head.c:smart_str_append
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append
Unexecuted instantiation: http.c:smart_str_append
Unexecuted instantiation: mail.c:smart_str_append
Unexecuted instantiation: proc_open.c:smart_str_append
Unexecuted instantiation: string.c:smart_str_append
Unexecuted instantiation: url_scanner_ex.c:smart_str_append
Unexecuted instantiation: url.c:smart_str_append
Unexecuted instantiation: var.c:smart_str_append
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append
Unexecuted instantiation: fopen_wrappers.c:smart_str_append
Unexecuted instantiation: php_variables.c:smart_str_append
Unexecuted instantiation: spprintf.c:smart_str_append
Unexecuted instantiation: zend_dump.c:smart_str_append
zend_ast.c:smart_str_append
Line
Count
Source
178
1.17M
{
179
  smart_str_append_ex(dest, src, false);
180
1.17M
}
Unexecuted instantiation: zend_attributes.c:smart_str_append
Unexecuted instantiation: zend_builtin_functions.c:smart_str_append
Unexecuted instantiation: zend_exceptions.c:smart_str_append
Unexecuted instantiation: zend_execute.c:smart_str_append
zend_inheritance.c:smart_str_append
Line
Count
Source
178
6.28k
{
179
  smart_str_append_ex(dest, src, false);
180
6.28k
}
Unexecuted instantiation: zend_ini.c:smart_str_append
Unexecuted instantiation: zend_smart_str.c:smart_str_append
Unexecuted instantiation: zend.c:smart_str_append
181
static zend_always_inline void smart_str_appendc(smart_str *dest, char ch)
182
31.5M
{
183
31.5M
  smart_str_appendc_ex(dest, ch, false);
184
31.5M
}
Unexecuted instantiation: php_date.c:smart_str_appendc
Unexecuted instantiation: php_pcre.c:smart_str_appendc
Unexecuted instantiation: hash.c:smart_str_appendc
Unexecuted instantiation: json_encoder.c:smart_str_appendc
Unexecuted instantiation: json.c:smart_str_appendc
Unexecuted instantiation: zend_jit.c:smart_str_appendc
Unexecuted instantiation: php_reflection.c:smart_str_appendc
Unexecuted instantiation: spl_array.c:smart_str_appendc
Unexecuted instantiation: spl_dllist.c:smart_str_appendc
Unexecuted instantiation: spl_iterators.c:smart_str_appendc
Unexecuted instantiation: spl_observer.c:smart_str_appendc
Unexecuted instantiation: array.c:smart_str_appendc
Unexecuted instantiation: basic_functions.c:smart_str_appendc
Unexecuted instantiation: file.c:smart_str_appendc
Unexecuted instantiation: filters.c:smart_str_appendc
Unexecuted instantiation: head.c:smart_str_appendc
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appendc
Unexecuted instantiation: http.c:smart_str_appendc
Unexecuted instantiation: mail.c:smart_str_appendc
Unexecuted instantiation: proc_open.c:smart_str_appendc
Unexecuted instantiation: string.c:smart_str_appendc
Unexecuted instantiation: url_scanner_ex.c:smart_str_appendc
Unexecuted instantiation: url.c:smart_str_appendc
Unexecuted instantiation: var.c:smart_str_appendc
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appendc
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appendc
Unexecuted instantiation: fopen_wrappers.c:smart_str_appendc
Unexecuted instantiation: php_variables.c:smart_str_appendc
spprintf.c:smart_str_appendc
Line
Count
Source
182
27.1M
{
183
  smart_str_appendc_ex(dest, ch, false);
184
27.1M
}
Unexecuted instantiation: zend_dump.c:smart_str_appendc
zend_ast.c:smart_str_appendc
Line
Count
Source
182
4.39M
{
183
  smart_str_appendc_ex(dest, ch, false);
184
4.39M
}
Unexecuted instantiation: zend_attributes.c:smart_str_appendc
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendc
zend_exceptions.c:smart_str_appendc
Line
Count
Source
182
2.24k
{
183
  smart_str_appendc_ex(dest, ch, false);
184
2.24k
}
Unexecuted instantiation: zend_execute.c:smart_str_appendc
zend_inheritance.c:smart_str_appendc
Line
Count
Source
182
5.34k
{
183
  smart_str_appendc_ex(dest, ch, false);
184
5.34k
}
Unexecuted instantiation: zend_ini.c:smart_str_appendc
Unexecuted instantiation: zend_smart_str.c:smart_str_appendc
Unexecuted instantiation: zend.c:smart_str_appendc
185
static zend_always_inline void smart_str_append_smart_str(smart_str *dest, const smart_str *src)
186
0
{
187
0
  smart_str_append_smart_str_ex(dest, src, false);
188
0
}
Unexecuted instantiation: php_date.c:smart_str_append_smart_str
Unexecuted instantiation: php_pcre.c:smart_str_append_smart_str
Unexecuted instantiation: hash.c:smart_str_append_smart_str
Unexecuted instantiation: json_encoder.c:smart_str_append_smart_str
Unexecuted instantiation: json.c:smart_str_append_smart_str
Unexecuted instantiation: zend_jit.c:smart_str_append_smart_str
Unexecuted instantiation: php_reflection.c:smart_str_append_smart_str
Unexecuted instantiation: spl_array.c:smart_str_append_smart_str
Unexecuted instantiation: spl_dllist.c:smart_str_append_smart_str
Unexecuted instantiation: spl_iterators.c:smart_str_append_smart_str
Unexecuted instantiation: spl_observer.c:smart_str_append_smart_str
Unexecuted instantiation: array.c:smart_str_append_smart_str
Unexecuted instantiation: basic_functions.c:smart_str_append_smart_str
Unexecuted instantiation: file.c:smart_str_append_smart_str
Unexecuted instantiation: filters.c:smart_str_append_smart_str
Unexecuted instantiation: head.c:smart_str_append_smart_str
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_smart_str
Unexecuted instantiation: http.c:smart_str_append_smart_str
Unexecuted instantiation: mail.c:smart_str_append_smart_str
Unexecuted instantiation: proc_open.c:smart_str_append_smart_str
Unexecuted instantiation: string.c:smart_str_append_smart_str
Unexecuted instantiation: url_scanner_ex.c:smart_str_append_smart_str
Unexecuted instantiation: url.c:smart_str_append_smart_str
Unexecuted instantiation: var.c:smart_str_append_smart_str
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_smart_str
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_smart_str
Unexecuted instantiation: fopen_wrappers.c:smart_str_append_smart_str
Unexecuted instantiation: php_variables.c:smart_str_append_smart_str
Unexecuted instantiation: spprintf.c:smart_str_append_smart_str
Unexecuted instantiation: zend_dump.c:smart_str_append_smart_str
Unexecuted instantiation: zend_ast.c:smart_str_append_smart_str
Unexecuted instantiation: zend_attributes.c:smart_str_append_smart_str
Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_smart_str
Unexecuted instantiation: zend_exceptions.c:smart_str_append_smart_str
Unexecuted instantiation: zend_execute.c:smart_str_append_smart_str
Unexecuted instantiation: zend_inheritance.c:smart_str_append_smart_str
Unexecuted instantiation: zend_ini.c:smart_str_append_smart_str
Unexecuted instantiation: zend_smart_str.c:smart_str_append_smart_str
Unexecuted instantiation: zend.c:smart_str_append_smart_str
189
190
0
static zend_always_inline void smart_str_setl(smart_str *dest, const char *src, size_t len) {
191
0
  smart_str_free(dest);
192
0
  smart_str_appendl(dest, src, len);
193
0
}
Unexecuted instantiation: php_date.c:smart_str_setl
Unexecuted instantiation: php_pcre.c:smart_str_setl
Unexecuted instantiation: hash.c:smart_str_setl
Unexecuted instantiation: json_encoder.c:smart_str_setl
Unexecuted instantiation: json.c:smart_str_setl
Unexecuted instantiation: zend_jit.c:smart_str_setl
Unexecuted instantiation: php_reflection.c:smart_str_setl
Unexecuted instantiation: spl_array.c:smart_str_setl
Unexecuted instantiation: spl_dllist.c:smart_str_setl
Unexecuted instantiation: spl_iterators.c:smart_str_setl
Unexecuted instantiation: spl_observer.c:smart_str_setl
Unexecuted instantiation: array.c:smart_str_setl
Unexecuted instantiation: basic_functions.c:smart_str_setl
Unexecuted instantiation: file.c:smart_str_setl
Unexecuted instantiation: filters.c:smart_str_setl
Unexecuted instantiation: head.c:smart_str_setl
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_setl
Unexecuted instantiation: http.c:smart_str_setl
Unexecuted instantiation: mail.c:smart_str_setl
Unexecuted instantiation: proc_open.c:smart_str_setl
Unexecuted instantiation: string.c:smart_str_setl
Unexecuted instantiation: url_scanner_ex.c:smart_str_setl
Unexecuted instantiation: url.c:smart_str_setl
Unexecuted instantiation: var.c:smart_str_setl
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_setl
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_setl
Unexecuted instantiation: fopen_wrappers.c:smart_str_setl
Unexecuted instantiation: php_variables.c:smart_str_setl
Unexecuted instantiation: spprintf.c:smart_str_setl
Unexecuted instantiation: zend_dump.c:smart_str_setl
Unexecuted instantiation: zend_ast.c:smart_str_setl
Unexecuted instantiation: zend_attributes.c:smart_str_setl
Unexecuted instantiation: zend_builtin_functions.c:smart_str_setl
Unexecuted instantiation: zend_exceptions.c:smart_str_setl
Unexecuted instantiation: zend_execute.c:smart_str_setl
Unexecuted instantiation: zend_inheritance.c:smart_str_setl
Unexecuted instantiation: zend_ini.c:smart_str_setl
Unexecuted instantiation: zend_smart_str.c:smart_str_setl
Unexecuted instantiation: zend.c:smart_str_setl
194
195
static zend_always_inline void smart_str_sets(smart_str *dest, const char *src)
196
0
{
197
0
  smart_str_setl(dest, src, strlen(src));
198
0
}
Unexecuted instantiation: php_date.c:smart_str_sets
Unexecuted instantiation: php_pcre.c:smart_str_sets
Unexecuted instantiation: hash.c:smart_str_sets
Unexecuted instantiation: json_encoder.c:smart_str_sets
Unexecuted instantiation: json.c:smart_str_sets
Unexecuted instantiation: zend_jit.c:smart_str_sets
Unexecuted instantiation: php_reflection.c:smart_str_sets
Unexecuted instantiation: spl_array.c:smart_str_sets
Unexecuted instantiation: spl_dllist.c:smart_str_sets
Unexecuted instantiation: spl_iterators.c:smart_str_sets
Unexecuted instantiation: spl_observer.c:smart_str_sets
Unexecuted instantiation: array.c:smart_str_sets
Unexecuted instantiation: basic_functions.c:smart_str_sets
Unexecuted instantiation: file.c:smart_str_sets
Unexecuted instantiation: filters.c:smart_str_sets
Unexecuted instantiation: head.c:smart_str_sets
Unexecuted instantiation: http_fopen_wrapper.c:smart_str_sets
Unexecuted instantiation: http.c:smart_str_sets
Unexecuted instantiation: mail.c:smart_str_sets
Unexecuted instantiation: proc_open.c:smart_str_sets
Unexecuted instantiation: string.c:smart_str_sets
Unexecuted instantiation: url_scanner_ex.c:smart_str_sets
Unexecuted instantiation: url.c:smart_str_sets
Unexecuted instantiation: var.c:smart_str_sets
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_sets
Unexecuted instantiation: uri_parser_whatwg.c:smart_str_sets
Unexecuted instantiation: fopen_wrappers.c:smart_str_sets
Unexecuted instantiation: php_variables.c:smart_str_sets
Unexecuted instantiation: spprintf.c:smart_str_sets
Unexecuted instantiation: zend_dump.c:smart_str_sets
Unexecuted instantiation: zend_ast.c:smart_str_sets
Unexecuted instantiation: zend_attributes.c:smart_str_sets
Unexecuted instantiation: zend_builtin_functions.c:smart_str_sets
Unexecuted instantiation: zend_exceptions.c:smart_str_sets
Unexecuted instantiation: zend_execute.c:smart_str_sets
Unexecuted instantiation: zend_inheritance.c:smart_str_sets
Unexecuted instantiation: zend_ini.c:smart_str_sets
Unexecuted instantiation: zend_smart_str.c:smart_str_sets
Unexecuted instantiation: zend.c:smart_str_sets
199
#endif