rfc:readline_interactive_shell_result_function
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:readline_interactive_shell_result_function [2021/01/20 00:46] – tandre | rfc:readline_interactive_shell_result_function [2021/02/03 00:39] (current) – tandre | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2020-12-19 | * Date: 2020-12-19 | ||
* Author: Tyson Andre, tandre@php.net | * Author: Tyson Andre, tandre@php.net | ||
- | * Status: | + | * Status: |
* Implementation: | * Implementation: | ||
* First Published at: https:// | * First Published at: https:// | ||
Line 179: | Line 179: | ||
* i.e. change '' | * i.e. change '' | ||
+ | ==== Rendering a result limit ==== | ||
+ | |||
+ | https:// | ||
+ | The setting '' | ||
+ | |||
+ | < | ||
+ | My main concern in this iteration of the RFC is: what happens with big/deeply nested objects? | ||
+ | They tend to spew tons of lines if var_dump()' | ||
+ | |||
+ | I'm often enough using php -a to do some quick ad-hoc processing (example, read a big json file, and then access a value; instantiating a mediawiki bot framework and calling replace on it; ...). | ||
+ | |||
+ | It's really cool to have any interactive feedback at all, but please, at least by default, limit the output. (An example is the JS REPL in browser console - it shows you a minimal preview of the object, and then you can expand with your mouse. Obviously with a pure cli application, | ||
+ | |||
+ | As it currently stands, this makes '' | ||
+ | |||
+ | I like the whole feature, but the missing output limitation (I have yet enough nightmares from var_dump()' | ||
+ | |||
+ | Thus I'm voting no, for now. | ||
+ | </ | ||
===== Vote ===== | ===== Vote ===== | ||
- | Voting starts on 2021-01-19 and ends 2021-02-02 | + | Voting starts on 2021-01-19 and ended 2021-02-02 |
Yes/No, requiring 2/3 majority | Yes/No, requiring 2/3 majority | ||
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
Line 192: | Line 211: | ||
===== References ===== | ===== References ===== | ||
+ | * https:// | ||
* https:// | * https:// | ||
* https:// | * https:// |
rfc/readline_interactive_shell_result_function.txt · Last modified: 2021/02/03 00:39 by tandre