Var_dump Function in PHP

The echo command does not always give an idea of what we are outputting. To debug your programs, it is better to use a special function var_dump. In addition to outputting a string or number, it will also indicate the type of output data, as well as its size:

php<?php
  var_dump('12345'); // outputs '12345' and some other useful info
?>