note 103226 added to control-structures.declare

From: Date: Fri, 01 Apr 2011 23:02:05 +0000
Subject: note 103226 added to control-structures.declare
Groups: php.notes 
Request: Send a blank email to php-notes+get-178422@lists.php.net to get a copy of this message
The tick handler is intended for code profiling. You can use it to determine the number of time units (ticks) that a chunk of code takes. And you can vary the tick frequency so profiling doesn't impact your specific code too much. A tick handler can gather other useful performance data, besides just counting ticks. You can use the tick handler to poll that your connection is a alive, but this will block your entire script. Polling connection status is no substitute for checking return values, and using timeouts on any function that connects to an external system. ---- Server IP: 69.147.83.197 Probable Submitter: 24.85.71.229 ---- Manual Page -- http://www.php.net/manual/en/control-structures.declare.php Edit -- https://master.php.net/note/edit/103226 Del: integrated -- https://master.php.net/note/delete/103226/integrated Del: useless -- https://master.php.net/note/delete/103226/useless Del: bad code -- https://master.php.net/note/delete/103226/bad+code Del: spam -- https://master.php.net/note/delete/103226/spam Del: non-english -- https://master.php.net/note/delete/103226/non-english Del: in docs -- https://master.php.net/note/delete/103226/in+docs Del: other reasons-- https://master.php.net/note/delete/103226 Reject -- https://master.php.net/note/reject/103226 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178422) next »