NYCPHP Meetup

NYPHP.org

[nycphp-talk] loop

Adam Fields fields at surgam.net
Thu Dec 19 17:35:09 EST 2002


On Thu, Dec 19, 2002 at 04:27:15PM -0500, Brian wrote:
> I am currently using a script to move a webcam at certain time intervals.  The 
> script never times out and uses the following to run indefinitely:
> 
> for (;;) {
> [camera instuctions]
> }
> 
> Anyone know the principal behind this snippet and why it works?  I have not 
> been able to find any information on the subject.

This is clearly documented in the online manual:

http://www.php.net/manual/en/control-structures.for.php


-- 
				- Adam

-----
Adam Fields, Managing Partner, fields at surgam.net
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.adamfields.com



More information about the talk mailing list