מדריך PHP
קודם
נספח C.
Migrating from PHP / FI 2 to PHP 3
הבא
Just like with if..endif, the syntax of while..endwhile has changed as well:
דוגמה C-7.
Migration: old while..endwhile syntax
while ($more_to_come);... endwhile;
דוגמה C-8.
Migration: new while..endwhile syntax
while ($more_to_come):... endwhile;
אזהרה
If you use the old while..endwhile syntax in PHP 3.0, you will get a never-ending loop.
קודם
ראשי
הבא
if..endif syntax
למעלה
Expression types