summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_prompt.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-10-13 09:55:37 +0200
committerAnatol Belski <ab@php.net>2016-10-14 02:01:22 +0200
commit5ce223026649cf6de1fdd20bb973d034885b7295 (patch)
treead52cfccf4c1dbbdaaff1743422161282cab53d6 /sapi/phpdbg/phpdbg_prompt.c
parentee425297506cb7248085b2bfcddf264af3953d6f (diff)
downloadphp-git-5ce223026649cf6de1fdd20bb973d034885b7295.tar.gz
use already exported symbol
(cherry picked from commit ce3e792c2c4c251fd5963a36af5ad4a9dd875085)
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index c6115e7d00..35ee4332cd 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -543,7 +543,7 @@ int phpdbg_compile_stdin(zend_string *code) {
PHPDBG_G(exec_len) = 1;
{ /* remove leading ?> from source */
int i;
- zend_string *source_path = zend_strpprintf(0, "-%c%p", 0, PHPDBG_G(ops)->opcodes);
+ zend_string *source_path = strpprintf(0, "-%c%p", 0, PHPDBG_G(ops)->opcodes);
phpdbg_file_source *data = zend_hash_find_ptr(&PHPDBG_G(file_sources), source_path);
dtor_func_t dtor = PHPDBG_G(file_sources).pDestructor;
PHPDBG_G(file_sources).pDestructor = NULL;