SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $prev = 0;
  3. while(1) {
  4.   $cols = exec("tput cols");
  5.   echo str_pad(str_repeat("*", $cols), $prev) . "r";
  6.   $prev = $cols;
  7.   sleep(1);
  8. }
  9. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top