<?php $count = 1; while ($count <= 3) { echo "Pass number $count\n"; $count++; } ?>
Click Run to execute this code.