summaryrefslogtreecommitdiff
path: root/Zend/tests/get_class_vars_007.phpt
diff options
context:
space:
mode:
authorTyson Andre <tysonandre775@hotmail.com>2021-02-26 09:48:36 -0500
committerTyson Andre <tysonandre775@hotmail.com>2021-03-01 09:41:13 -0500
commitb4fbf1d381d23ad3e9ad8f6df572adc1984a0a45 (patch)
tree12f329dc9b4ba1a5d4ab18337b5185a57395f569 /Zend/tests/get_class_vars_007.phpt
parentb652267383b4f7e2a2ba6e48333a677619595a0a (diff)
downloadphp-git-b4fbf1d381d23ad3e9ad8f6df572adc1984a0a45.tar.gz
Optimize serializing class names
Because of the memcpy, compilers can't infer that ZSTR_LEN (i.e. class_name->len) did not change, so they copy it out of memory into a register for the last two accesses. php_var_serialize_string already does something similar. Closes GH-6734
Diffstat (limited to 'Zend/tests/get_class_vars_007.phpt')
0 files changed, 0 insertions, 0 deletions