note 100359 added to function.touch

From: Date: Mon, 11 Oct 2010 10:04:34 +0000
Subject: note 100359 added to function.touch
Groups: php.notes 
Request: Send a blank email to php-notes+get-173127@lists.php.net to get a copy of this message
bosslog at gmail dot com, I tested touch() vs file_put_contents() - touch() was about 10% faster: * 100 iterations: 0.00586 secs - touch 0.00699 secs - file_put_contents * 1000 iterations: 0.07829 secs - touch 0.08730 secs - file_put_contents * 10000 iterations: 0.87133 secs - touch 0.96105 secs - file_put_contents * 100000 iterations: 9.51271 secs - touch 10.31091 secs - file_put_contents ---- Server IP: 212.93.96.97 Probable Submitter: 159.148.217.200 ---- Manual Page -- http://www.php.net/manual/en/function.touch.php Edit -- https://master.php.net/note/edit/100359 Del: integrated -- https://master.php.net/note/delete/100359/integrated Del: useless -- https://master.php.net/note/delete/100359/useless Del: bad code -- https://master.php.net/note/delete/100359/bad+code Del: spam -- https://master.php.net/note/delete/100359/spam Del: non-english -- https://master.php.net/note/delete/100359/non-english Del: in docs -- https://master.php.net/note/delete/100359/in+docs Del: other reasons-- https://master.php.net/note/delete/100359 Reject -- https://master.php.net/note/reject/100359 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#173127) next »