← Back to team overview

ius-coredev team mailing list archive

Re: [Question #198150]: php53u-cli missing readline support

 

Question #198150 on IUS Community Project changed:
https://answers.launchpad.net/ius/+question/198150

Jeffrey Ness posted a new comment:
It does appear readline is not available:
  http://www.php.net/manual/en/function.readline.php

# php
<?php
//get 3 commands from user
for ($i=0; $i < 3; $i++) {
        $line = readline("Command: ");
        readline_add_history($line);
}

//dump history
print_r(readline_list_history());

//dump variables
print_r(readline_info());
?>
Command: a
Command: a
Command: s
PHP Fatal error:  Call to undefined function readline_list_history() in - on line 9

-- 
You received this question notification because you are a member of IUS
Core Development, which is an answer contact for IUS Community Project.