summaryrefslogtreecommitdiffstats
path: root/vendor/textalk/websocket/tests/scripts/client.connect-error.json
blob: e6c523db11f91554b0c2c21649fda57988458f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[
    {
        "function": "stream_context_create",
        "params": [],
        "return": "@mock-stream-context"
    },
    {
        "function": "stream_socket_client",
        "params": [
            "tcp:\/\/localhost:8000",
            null,
            null,
            5,
            4,
            "@mock-stream-context"
        ],
        "error": {
            "msg": "A PHP error",
            "type": 512
        },
        "return": false
    }
]