Skip to content

Instantly share code, notes, and snippets.

@txemaleon
Created April 24, 2016 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save txemaleon/ce4e2397b2d41034e055493cc138e774 to your computer and use it in GitHub Desktop.
Save txemaleon/ce4e2397b2d41034e055493cc138e774 to your computer and use it in GitHub Desktop.
pre() es una pequeña función que muestra el contenido de una variable
<?php
/**
* Muestra el contenido de una variable
* @param mixed $texto Variable a Mostrar
* @return n/a
*/
function pre( $texto ) {
echo '<pre>';
print_r( $texto );
echo '</pre>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment