Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

writeLine() with console is (literally) breaking when the string is "too long"? #4051

@Xunnamius

Description

@Xunnamius

These images are worth a thousand words; red is the code that produces the corresponding orange output:

1

2

These numbers... and I'm not in the mood to dive into the ZF2 source tonight ;)

Moreover, the workaround seems to be two consecutive write()s (or one long write()). I see it happening pretty much everywhere where the strings are too long, although it doesn't occur often enough for me to replace all of my writeLine()s with consecutive write()s.

Latest Debian Linux using the default console adapter shipped w/ ZF2.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions