[php-src] Issue #8456: var_export falls into infinite loop
| From: | damianwadley | Date: | Fri, 29 Apr 2022 01:07:55 +0000 |
| Subject: | [php-src] Issue #8456: var_export falls into infinite loop | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241309@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8456
Comment Author: damianwadley
var_export() can't handle circular references because there's no simple way to construct
the required __set_state call in a single expression. Nothing to do with garbage collection.
If you want to dump the contents of a variable then use print_r() or var_dump().