diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2020-07-18 17:54:59 -0400 |
---|---|---|
committer | Tyson Andre <tysonandre775@hotmail.com> | 2020-08-01 11:39:08 -0400 |
commit | 97f10fc341fb320dd803b83e0b3a3041a1ee2046 (patch) | |
tree | 88d9e902bac65297243c3cc62e4064a5dbcb933e /ext/openssl/tests/openssl_pkcs7_decrypt_basic.phpt | |
parent | ec22e5aa3841770259161ff260da19b781af536e (diff) | |
download | php-git-97f10fc341fb320dd803b83e0b3a3041a1ee2046.tar.gz |
Allow overriding completion in `auto_prepend_file`
Currently, it's possible to override `php -a`s completion
functionality to provide an alternative to the C implementation,
with `readline_completion_function()`.
However, that surprisingly gets overridden when called from
`auto_prepend_file`, because those scripts get run before the interactive shell
is started. I believe that not overriding it would be more consistent
with what happens when you override the completion function **after** the
interactive shell.
CLI is the only built-in API that uses this (See discussion in GH-5872).
I believe MINIT and RINIT will only run once when invoked with `php -a`.
Add documentation about the architecture of how php uses readline/libedit
Closes GH-5872
Diffstat (limited to 'ext/openssl/tests/openssl_pkcs7_decrypt_basic.phpt')
0 files changed, 0 insertions, 0 deletions