diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-07 09:08:56 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-07 09:15:43 +0200 |
commit | dadb92ea35688a82bec7d4dca5a6edd446c50576 (patch) | |
tree | 75d5ca7a9ee1acc082eba01a75c867022d95aa48 /sapi/phpdbg/phpdbg_prompt.c | |
parent | df8119d3e1228ea0dcc14f18027e2d57de76d28e (diff) | |
download | php-git-dadb92ea35688a82bec7d4dca5a6edd446c50576.tar.gz |
Don't allow separation in array functions
The only case here that might be *somewhat* sensible is the userdata
argument of array_walk(), which could be used to keep persistent state
between callback invokations -- with the WTF moment that the final
result after the walk finishes will be unchanged. Nowdays, this is
much better achieved using a closure with a use-by-reference.
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
0 files changed, 0 insertions, 0 deletions