php when loop overflow code example Example: php for loop stack overflow for($i = 0; $i < count($nt); $i++) { echo $nt[2][$i]; echo "<br />"; }