--TEST-- GH-8409: Error in socket creation when error handler does not clean persistent connection --FILE-- --EXPECTF-- Fatal error: Uncaught Exception: stream_socket_client(): %s in %sgh8409.php:%d Stack trace: #0 [internal function]: {closure:%s:%d}(2, 'stream_socket_c...', '%s', %d) #1 %s(%d): stream_socket_client('tcp://9999.9999...', 0, '', 0.2, 5) #2 {main} thrown in %s on line %d OK: persistent stream closed