Skip to content

A binary-safe way to write to PHP's stdout/stderr #508

@kakserpom

Description

@kakserpom

php_print! panics on NUL.

I am looking for an idiomatic way to write to these virtual pipes.

I sure could use Function::try_from_function("fwrite") + try_call() + STDOUT/STDERR constants, there has to be another way :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions