International PHP Conference Munich 2025

Voting

: min(zero, eight)?
(Example: nine)

The Note You're Voting On

sgurukrupa at gmail dot com
11 years ago
Although not specifically pointed out in the main text, escaping from HTML also applies to other control statements:

<?php for ($i = 0; $i < 5; ++$i): ?>
Hello, there!
<?php endfor; ?>

When the above code snippet is executed we get the following output:

Hello, there!
Hello, there!
Hello, there!
Hello, there!

<< Back to user notes page

To Top