|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-04-11 17:14 UTC] felipe@php.net
[2009-04-11 18:04 UTC] rannou dot sebastien at gmail dot com
[2009-04-13 18:08 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 16:00:01 2025 UTC |
Description: ------------ If the registered function from readline_completion_function returns an empty array, a segmentation fault happens when trying to tab. Reproduce code: --------------- <?php // script.php function foo() { return array(); } readline_completion_function('foo'); while (42) echo readline('> '); ?> Expected result: ---------------- Doing nothing or printing a new prompt. Actual result: -------------- $> php script.php > Segmentation fault $>