|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-09-02 22:16 UTC] lindsay at notion dot ai
-Operating System: osx 10.11.6
+Operating System: Ubuntu 14.04.3 LTS
[2016-09-02 22:16 UTC] lindsay at notion dot ai
[2016-09-03 15:59 UTC] laruence@php.net
[2021-06-03 08:34 UTC] git@php.net
[2021-06-03 08:34 UTC] git@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 21:00:01 2025 UTC |
Description: ------------ If the callback for readline_completion_function returns an empty array, php will segfault. When running the example code, hit tab to fire the callback. Test script: --------------- <?php readline_completion_function('readline_callback'); do { $command = readline('> '); echo 'command: ' . $command . PHP_EOL; } while ($command); function readline_callback($command) { return []; }