[php-src] Issue #8873: For function var_dump the values of all properties inside the class should show the value on same line instead of bring shown
on a newline
| From: | kingx619 | Date: | Sun, 26 Jun 2022 09:04:05 +0000 |
| Subject: | [php-src] Issue #8873: For function var_dump the values of all properties inside the class should show the value on same line instead of bring shown on a newline |
||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241810@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8873
Author: kingx619
### Description
object(Test)#1 (2) {
["name":"Test":private]=>
string(4) "test"
["color":"Test":private]=>
string(4) "pink"
}
For any object instead of the above outtput ..var_dump function should output as below :
object(Test)#1 (2) {
["name":"Test":private]=> string(4) "test"
["color":"Test":private] => string(4) "pink"
}
I think it makes sense to show the properties and their values in same line as Key=> value pairs
and a bit annoying to read values of the class Properties on the new line