-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wierd var_dump() output for unserialized objects #64
Comments
Hi @rybakit Is this in PHP 5 (and also is the behavior different in PHP 7)? I think this is because we use the symtable operations, instead of the properties API? This wouldn't be hard to fix |
Looks like this is only the case for PHP 5 (https://travis-ci.org/rybakit/travis-sandbox#L228-L235). It would be great to bring it in line with standard PHP output ;) |
Yea totally! I agree it should be fixed. I have a little bit of time this weekend, and will try my best to get it done then! If by Monday it isn't done feel free to poke me via GitHub/email and I will work on it right away. thanks! |
Great! Thank you very much for looking into it and the quick responses! |
Hey @Sean-Der |
Hey @rybakit! Sorry I got sick/burned out, so have been doing the bare minimum amount of work the past couple of days! Sorry for the silence, this is still on my TODO list! |
No worries and get better! |
This is expected, %r encloses regexes in tests' EXPECTF sections. |
Is there a reason to dump unserialized objects to such a specific format?
To compare, here is a standard
var_dump()
output for the same object (https://3v4l.org/nXGBP):The text was updated successfully, but these errors were encountered: