while syntax

Práve tak ako s if..endif , syntax while..endwhile sa tiež zmenil :

Príklad C-7 . Migrácia : starý while..endwhile syntax




Príklad C-8 . Migrácia : nový while..endwhile syntax






Varovanie

Ak používate starý while..endwhile syntax v PHP 3.0 , dostanete nekonečnú slučku .