search for in the  
<if..endif syntaxExpression types>
Last updated: Thu, 19 May 2005

while syntax

Just like with if..endif, the syntax of while..endwhile has changed as well:

Example D-7. Migration: old while..endwhile syntax

while ($more_to_come);
   ...
endwhile;

Example D-8. Migration: new while..endwhile syntax

while ($more_to_come):
   ...
endwhile;

Warning

If you use the old while..endwhile syntax in PHP 3.0, you will get a never-ending loop.



User Contributed Notes
while syntax
There are no user contributed notes for this page.

<if..endif syntaxExpression types>
 Last updated: Thu, 19 May 2005
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: The Server Pages
Last updated: Thu May 19 17:35:34 2005 CDT