how to give a class to php echo statement code example
Example: echo class php
If you just want to print the contents of the class for debugging purposes, use print_r or var_dump.
If you just want to print the contents of the class for debugging purposes, use print_r or var_dump.