note 101424 added to language.basic-syntax.comments

From: Date: Wed, 15 Dec 2010 22:28:49 +0000
Subject: note 101424 added to language.basic-syntax.comments
Groups: php.notes 
Request: Send a blank email to php-notes+get-174967@lists.php.net to get a copy of this message
Comments do NOT take up processing power. So, for all the people who argue that comments are undesired because they take up processing power now have no reason to comment ;) <?php // Control echo microtime(), "<br />"; // 0.25163600 1292450508 echo microtime(), "<br />"; // 0.25186000 1292450508 // Test echo microtime(), "<br />"; // 0.25189700 1292450508 # TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST # .. Above comment repeated 18809 times .. echo microtime(), "<br />"; // 0.25192100 1292450508 ?> They take up about the same amount of time (about meaning on a repeated testing, sometimes the difference between the control and the test was negative and sometimes positive). ---- Server IP: 69.147.83.197 Probable Submitter: 24.119.117.198 ---- Manual Page -- http://www.php.net/manual/en/language.basic-syntax.comments.php Edit -- https://master.php.net/note/edit/101424 Del: integrated -- https://master.php.net/note/delete/101424/integrated Del: useless -- https://master.php.net/note/delete/101424/useless Del: bad code -- https://master.php.net/note/delete/101424/bad+code Del: spam -- https://master.php.net/note/delete/101424/spam Del: non-english -- https://master.php.net/note/delete/101424/non-english Del: in docs -- https://master.php.net/note/delete/101424/in+docs Del: other reasons-- https://master.php.net/note/delete/101424 Reject -- https://master.php.net/note/reject/101424 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#174967) next »