<?php $n; for($i=1;$i<=n;$i++){ for($j=1;$j<=$i;$j++){ echo "*"; } echo "\n"; }
5
Standard output is empty
PHP Warning: Use of undefined constant n - assumed 'n' (this will throw an Error in a future version of PHP) in /home/uCbB7w/prog.php on line 3