note 69697 added to features.commandline

From: Date: Fri, 15 Sep 2006 22:59:17 +0000
Subject: note 69697 added to features.commandline
Groups: php.notes 
Request: Send a blank email to php-notes+get-117234@lists.php.net to get a copy of this message
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"; ?> ---- Server IP: 217.160.246.76 Probable Submitter: 70.97.153.82 ---- Manual Page -- http://www.php.net/manual/en/features.commandline.php Edit -- https://master.php.net/note/edit/69697 Del: integrated -- https://master.php.net/note/delete/69697/integrated Del: useless -- https://master.php.net/note/delete/69697/useless Del: bad code -- https://master.php.net/note/delete/69697/bad+code Del: spam -- https://master.php.net/note/delete/69697/spam Del: non-english -- https://master.php.net/note/delete/69697/non-english Del: in docs -- https://master.php.net/note/delete/69697/in+docs Del: other reasons-- https://master.php.net/note/delete/69697 Reject -- https://master.php.net/note/reject/69697 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#117234) next »