Skip to content

Running with --process-isolation yields parse error on global data with single quotes #2

@beamrider9

Description

@beamrider9

The code that writes out global PHP data to a serialized string doesn't take into account the case where the serialized data contains single quotes - when it does, the string being passed to unserialize results in a parse error.

It's this line:

http://github.com/sebastianbergmann/phpunit/blob/master/PHPUnit/Util/GlobalState.php#L323

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