Skip to content

var_export vs plaintext #4774

Closed
Closed

Description

@johnbillion

Different commands use a different name for the plain text output format of the --format parameter. Some call it plaintext and some call it var_export.

Correct me if I'm wrong, but it appears that these are the same format with two different names.

Activity

  1. schlessera commented on Apr 19, 2018

    @schlessera
    Member

    Yes, they are the same thing.

    To fix this in a BC way, we could just accept both whenever that particular format is used.

    However, I think that the plaintext one is only used when a string is returned, so it might make more sense to users in that case.

  2. added 2 commits that reference this issue on Apr 8, 2026
    fed9f53
    1fda9c7
  3. swissspidy commented on Sep 15, 2026

    @swissspidy
    Member

    I think this is completed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions