Skip to content

$GLOBALS + multiple listeners #3

@bschmitt

Description

@bschmitt

Working with GLOBALS will not work when using multiple listeners in one thread.

https://github.com/mookofe/tail/blob/master/src/Listener.php#L72

Better approach would be to store these information in the class instance or at least use a unique key as separator in the GLOBALS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions