Skip to content

Commit

Permalink
Merge pull request #10244 from tuqqu/socket-shutdown-fix
Browse files Browse the repository at this point in the history
Add stream_socket_shutdown socket_shutdown to impure function list
  • Loading branch information
orklah committed Oct 3, 2023
2 parents 3a8f2d2 + 2baa094 commit 8d35034
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dictionaries/ImpureFunctionsList.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
'socket_set_block' => true,
'socket_set_nonblock' => true,
'socket_listen' => true,
'stream_socket_shutdown' => true,
'socket_shutdown' => true,
// meta calls
'call_user_func' => true,
'call_user_func_array' => true,
Expand All @@ -93,7 +95,6 @@
'mcrypt_generic_deinit' => true,
'mcrypt_module_close' => true,
// internal optimisation
'opcache_compile_file' => true,
'clearstatcache' => true,
// process-related
'pcntl_signal' => true,
Expand Down

0 comments on commit 8d35034

Please sign in to comment.