You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix phpdbg prompt with editline/readline integration
When building phpdbg SAPI with libedit/readline integration, also start
and end ignore characters need to be added in the prompt pattern. This
should now work for libedit, readline, and phpdbg without
readline/libedit.
The RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE macros are checked
to ensure libedit has these available. Otherwise, this could be further
improved by concatenating strings and literal strings into single
argument or similar using these two symbols directly.
Autotools:
./configure --with-readline --enable-phpdbg-readline
make
./sapi/phpdbg/phpdb
In the phpdbg, the "prompt" should be colored (or bold) in some
terminals.
0 commit comments