echo class php

PHP
If you just want to print the contents of the class for debugging purposes, use print_r or var_dump.
Source

Also in PHP: