[php-src] Issue #7922: `print_r` should not produce a fatal error

From: Date: Wed, 12 Jan 2022 16:33:17 +0000
Subject: [php-src] Issue #7922: `print_r` should not produce a fatal error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238988@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7922 Comment Author: TysonAndre In addition to throwing, I think you'd need to call zval_ptr_dtor to free incorrect return values of type strings/objects/resources from __debugInfo but it seems reasonable otherwise

« previous php.bugs (#238988) next »