-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Description
Symfony version(s) affected
6.4
Description
VarDumper::dump(' ');
shows an empty string with nothing in it.
VarDumper::dump(' ');
also shows as an empty string.
I experienced this trying to debug a larger object, where one of the values was a string with a single space in it. But the method showed it as an empty string, thus confusing my debugging.
How to reproduce
Run the following:
<?php
use Symfony\Component\VarDumper\VarDumper;
VarDumper::dump(' ');
This should show up as an empty string.
Possible Solution
No response
Additional Context
No response
gabrielrbarbosa