note 69697 deleted from features.commandline by cmb

From: Date: Sun, 18 Dec 2016 10:18:56 +0000
Subject: note 69697 deleted from features.commandline by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-208664@lists.php.net to get a copy of this message
Note Submitter: hobby6_at_hotmail.com ---- On windows, you can simulate a cls by echoing out just \r. This will keep the cursor on the same line and overwrite what was on the line. for example: <?php echo "Starting Iteration" . "\n\r"; for ($i=0;$i<10000;$i++) { echo "\r" . $i; } echo "Ending Iteration" . "\n\r"; ?>

« previous php.notes (#208664) next »