Created
April 24, 2016 10:33
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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