Skip to content
This repository was archived by the owner on May 16, 2026. It is now read-only.
This repository was archived by the owner on May 16, 2026. It is now read-only.

PHP Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must implement interface Icicle\Socket\Socket #6

@lhfeng

Description

@lhfeng

hello,run the php chat.php and nc localhost 60000

error: PHP Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must implement interface Icicle\Socket\Socket, null given in /Users/echo/data/www/icicle/examples/chat.php:17

why?

php version: PHP 7.0.5

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions