|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2021-07-23 06:10 UTC] easteregg at verfriemelt dot org
Description: ------------ i wanted to improve my interactive shellprompt... Test script: --------------- echo cli.prompt="»" > test.ini PHPRC=`pwd`/test.ini php -a Expected result: ---------------- Interactive mode enabled » Actual result: -------------- Interactive mode enabled [1] 2825134 segmentation fault (core dumped) php -a PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
I can reproduce this error within interactive PHP shell: $ php -a Interactive mode enabled php > $gitName = shell_exec('git config user.name'); php > echo $gitName; Christoph René Pardon php > echo readline('confirm ' . $gitName) . PHP_EOL; [1] 1306364 segmentation fault php -a