summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_prompt.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-07 09:08:56 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-07 09:15:43 +0200
commitdadb92ea35688a82bec7d4dca5a6edd446c50576 (patch)
tree75d5ca7a9ee1acc082eba01a75c867022d95aa48 /sapi/phpdbg/phpdbg_prompt.c
parentdf8119d3e1228ea0dcc14f18027e2d57de76d28e (diff)
downloadphp-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