[php-src] PR #18633: Drop FIXME in pcntl_signal_dispatch()
| From: | nielsdos | Date: | Sat, 24 May 2025 10:57:34 +0000 |
| Subject: | [php-src] PR #18633: Drop FIXME in pcntl_signal_dispatch() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31771@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18633
Author: nielsdos
This comment used to be true when the zvals were heap allocated and the destruction must be done
properly. However, it _is_ done properly nowadays by calling zval_ptr_dtor(). Furthermore, since
call_user_function() always initializes the return value with UNDEF, we can remove the ZVAL_NULL()
line.