Lines Matching refs:prompt_spec
137 char *prompt_spec = CLIR_G(prompt) ? CLIR_G(prompt) : DEFAULT_PROMPT; in cli_get_prompt() local
140 if (*prompt_spec == '\\') { in cli_get_prompt()
141 switch (prompt_spec[1]) { in cli_get_prompt()
144 prompt_spec++; in cli_get_prompt()
148 prompt_spec++; in cli_get_prompt()
152 prompt_spec++; in cli_get_prompt()
156 prompt_spec++; in cli_get_prompt()
162 prompt_spec++; in cli_get_prompt()
166 prompt_spec++; in cli_get_prompt()
170 prompt_spec++; in cli_get_prompt()
174 prompt_spec++; in cli_get_prompt()
180 } else if (*prompt_spec == '`') { in cli_get_prompt()
181 char *prompt_end = strstr(prompt_spec + 1, "`"); in cli_get_prompt()
185 code = estrndup(prompt_spec + 1, prompt_end - prompt_spec - 1); in cli_get_prompt()
189 zend_eval_stringl(code, prompt_end - prompt_spec - 1, NULL, "php prompt code"); in cli_get_prompt()
193 prompt_spec = prompt_end; in cli_get_prompt()
196 smart_str_appendc(&retval, *prompt_spec); in cli_get_prompt()
198 } while (++prompt_spec && *prompt_spec); in cli_get_prompt()