-
-
Save unalt/1a19b05d64db7e2c70018a793df50055 to your computer and use it in GitHub Desktop.
PHP - clear screen recipe
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 cls() | |
{ | |
print("\033[2J\033[;H"); | |
} | |
echo "hello world"; | |
cls(); | |
echo "world"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment