Created
December 8, 2016 15:29
-
-
Save skorotkiewicz/736558d8e22ccee0667c79ed81d1d773 to your computer and use it in GitHub Desktop.
<br /> for CLI and Web
This file contains hidden or 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 | |
function echow($text) { | |
if (isset($_SERVER{'TERM'})) { | |
echo $text."\t\n"; | |
} else { | |
echo $text."<br />"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment