PHP 8.5.0 Alpha 1 available for testing

Voting

: zero plus six?
(Example: nine)

The Note You're Voting On

kyle gibson
19 years ago
Took me about 20 minutes to figure out the proper arguments to supply for a AF_UNIX socket. Anything else, and I would get a PHP warning about the 'type' not being supported. I hope this saves someone else time.

<?php
$socket
= socket_create(AF_UNIX, SOCK_STREAM, 0);
// code
?>

<< Back to user notes page

To Top