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
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