Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Prints human-readable information about a variable
<?php print_r(mixed $value, bool $return = false): string|bool
<?php         if (! $event) {

            $eventData = 'null';

        } else {

            $eventData = print_r($event, true);

        }



        parent::__construct("This handler expected to be invoked with a $expectedEventType event. Instead, the handler was invoked with invalid event data: $eventData");