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             is_array($value) => '[]',

            is_object($value) => get_class($value),

            is_string($value) => $value,

            default => print_r($value, true),

        };

    }

}
<?php             sprintf(

                'Event [%s] does not have the [%s] listener attached to it',

                $expectedEvent,

                print_r($expectedListener, true)

            )

        );

    }