Yes, I did test, and it works. I assumed that f_socket_set_option worked like PHP's socket_set_option, which sets each option separately. After your comments I checked and realized that's not how f_set_socket_option works. If the goal is to behave like PHP's socket_set_option, yes, we have a bug.