-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding --with-libedit to configure option affects the behaviour of readline() function. #497
Labels
Comments
shinnya
changed the title
Adding --with-libedit to configure option affects the behavior of readline() function.
Adding --with-libedit to configure option affects the behaviour of readline() function.
May 10, 2015
You can check which library you use by the following command: $ php -i | grep EditLine If you get no output, you're using libreadline. |
CLIFramework 2.5.2 was released, which shall contain your commits. :) |
c9s
added a commit
that referenced
this issue
May 4, 2016
because only readline supports readline_list_history() (http://www.php.net/readline-list-history). On the other hand we want libedit to be the default because its license is compatible with PHP's which means PHP can be distributable. related issue #497 Add editline to readline conflict
It was using editline for historical reason about 4 years ago, it's now fixed to prefer readline over editline |
c9s
added a commit
that referenced
this issue
May 4, 2016
because only readline supports readline_list_history() (http://www.php.net/readline-list-history). On the other hand we want libedit to be the default because its license is compatible with PHP's which means PHP can be distributable. related issue #497 Add editline to readline conflict
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
readline
function implemented with libedit can't stop echoing user input. The code below should not display user input.This code works with libreadline, but doesn't work with libedit. As far as I searched,
--with-libedit
causes this issue.Accordint to PHP doc, we can choose either
--with-readline
or--with-libedit
for enabling readline, but the two options are given in phpbrew at the same time when+readline
variant is enabled and phpbrew can find the headers ofreadline
andlibedit
.See
phpbrew/src/PhpBrew/VariantBuilder.php
Line 229 in 3b8e0cd
Is this code a bug? I think we should give either of them.
The text was updated successfully, but these errors were encountered: