Ben yıllardır bu ile ilgili oldum ama o kadar sirke seçici ben içine baktım hiç budur. Ama hep merak etmişimdir.
Bir PHP şablonda, ben bu çalıştırırsanız:
<p>
<?php echo 'Between "?>" and "</p>" is one linebreak.'; ?>
</p>
<p>
<?php echo 'Between "?>" and "</p>" is one space, then one linebreak.'; ?>
</p>
<p>
<?php echo 'Between "?>" and "</p>" is two linebreaks.'; ?>
</p>
Bu çıkış:
<p>
Between "?>" and "</p>" is one linebreak.</p>
<p>
Between "?>" and "</p>" is one space, then one linebreak.
</p>
<p>
Between "?>" and "</p>" is two linebreaks.
</p>
Ben bu davranışı anlamıyorum. O (ilk örnekteki gibi) orada değil sanki Neden tek bir satır sonu görmezden geliyor?