[php-src] PR #18188: Remove pointless operations from zend_user_serialize()
| From: | nielsdos | Date: | Sat, 29 Mar 2025 23:23:40 +0000 |
| Subject: | [php-src] PR #18188: Remove pointless operations from zend_user_serialize() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31228@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18188
Author: nielsdos
We don't have to call zval_ptr_dtor() on IS_NULL, and we only have to check for the UNDEF type.
Reduces code size from 231 to 199 on x86-64.