1--TEST-- 2Bug #64330 (stream_socket_server() creates wrong Abstract Namespace UNIX sockets) 3--SKIPIF-- 4<?php 5if (!in_array("unix", stream_get_transports())) die("SKIP unix domain sockets unavailable"); 6if (!stristr(PHP_OS, "Linux")) die('skip abstract namespace is a Linux-only feature'); 7?> 8--FILE-- 9<?php 10echo "Test\n"; 11$server = stream_socket_server("unix://\x00/MyBindName"); 12$client = stream_socket_client("unix://\x00/MyBindName"); 13if ($client) { 14 echo "ok\n"; 15} 16?> 17--EXPECT-- 18Test 19ok 20