diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2021-01-02 14:07:45 -0500 |
---|---|---|
committer | Tyson Andre <tysonandre775@hotmail.com> | 2021-01-02 16:10:14 -0500 |
commit | dfb9e03336fed7c4c07fb1a30a8be25cfbf546e4 (patch) | |
tree | 6ada3503f63bc7da91a6a1435264f1a6879775eb /sapi/cli/php_cli.c | |
parent | 64c753e7c823848b55553dee4bdf1a3336fbc0f5 (diff) | |
download | php-git-dfb9e03336fed7c4c07fb1a30a8be25cfbf546e4.tar.gz |
Use Z_PARAM_OBJ macros when zval isn't needed
In some cases, like spl_object_id, the code is simpler but equally efficient
after optimizations.
In other cases, like get_mangled_object_vars(), the compiler can't infer that
the object in the zval won't change.
Closes GH-6567
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions