3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 1; $i < 10; $i++) { ?> <li class="product-image"> <a href="#<?php echo $i; ?>" class="image"> <img src="#<?php echo $i; ?>" alt="haha" /> </a> </li> <?php }
Output for git.master, git.master_jit, rfc.property-hooks
<li class="product-image"> <a href="#1" class="image"> <img src="#1" alt="haha" /> </a> </li> <li class="product-image"> <a href="#2" class="image"> <img src="#2" alt="haha" /> </a> </li> <li class="product-image"> <a href="#3" class="image"> <img src="#3" alt="haha" /> </a> </li> <li class="product-image"> <a href="#4" class="image"> <img src="#4" alt="haha" /> </a> </li> <li class="product-image"> <a href="#5" class="image"> <img src="#5" alt="haha" /> </a> </li> <li class="product-image"> <a href="#6" class="image"> <img src="#6" alt="haha" /> </a> </li> <li class="product-image"> <a href="#7" class="image"> <img src="#7" alt="haha" /> </a> </li> <li class="product-image"> <a href="#8" class="image"> <img src="#8" alt="haha" /> </a> </li> <li class="product-image"> <a href="#9" class="image"> <img src="#9" alt="haha" /> </a> </li>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
36.95 ms | 403 KiB | 8 Q