ID: 31796 User updated by: david at acz dot org Reported By: david at acz dot org -Status: Feedback +Status: Open Bug Type: Readline related Operating System: * PHP Version: 4CVS, 5CVS (2005-02-03) New Comment:
I am positive. Previous Comments: ------------------------------------------------------------------------ [2005-02-03 16:33:22] [EMAIL PROTECTED] Are you sure your callback is being called? ------------------------------------------------------------------------ [2005-02-01 21:12:43] david at acz dot org Description: ------------ The readline() function always tab completes the filesystem even if a custom completion function is used. This behavior is undocumented and undesirable in some applications. Reproduce code: --------------- <? readline_completion_function("complete"); readline("> "); function complete($line, $pos, $cursor) { return array(); } ?> Expected result: ---------------- I expect nothing to happen when I press tab. Actual result: -------------- The filesystem is completed as with bash. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31796&edit=1