3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo rawurlencode('<div style="width: 100%;padding: 0;"> <div style="width: 20%; float: left; border-left: 1px solid #DDDDDD;padding: 0;font-size: 13px;color: #bbbbbb;">5</div> <div style="width: 19%; float: left; border-left: 1px solid #DDDDDD;padding: 0;font-size: 13px;">4</div> <div style="width: 19%; float: left; border-left: 1px solid #DDDDDD;padding: 0;font-size: 13px;">3</div> <div style="width: 19%; float: left; border-left: 1px solid #DDDDDD;padding: 0;font-size: 13px;">2</div> <div style="width: 19%; float: left; border-left: 1px solid #DDDDDD;padding: 0;border-right: 1px solid #DDDDDD;font-size: 13px;">1</div> </div> <div class="HorizontalGradient">&nbsp;</div> <span style="float: left; font-size: 14px;">Sweet</span> <span style="float: right; font-size: 14px;">Dry</span>'); ?>
Output for 5.2.15 - 7.2.0
%3Cdiv%20style%3D%22width%3A%20100%25%3Bpadding%3A%200%3B%22%3E%0A%09%3Cdiv%20style%3D%22width%3A%2020%25%3B%20float%3A%20left%3B%20border-left%3A%201px%20solid%20%23DDDDDD%3Bpadding%3A%200%3Bfont-size%3A%2013px%3Bcolor%3A%20%23bbbbbb%3B%22%3E5%3C%2Fdiv%3E%0A%09%3Cdiv%20style%3D%22width%3A%2019%25%3B%20float%3A%20left%3B%20border-left%3A%201px%20solid%20%23DDDDDD%3Bpadding%3A%200%3Bfont-size%3A%2013px%3B%22%3E4%3C%2Fdiv%3E%0A%09%3Cdiv%20style%3D%22width%3A%2019%25%3B%20float%3A%20left%3B%20border-left%3A%201px%20solid%20%23DDDDDD%3Bpadding%3A%200%3Bfont-size%3A%2013px%3B%22%3E3%3C%2Fdiv%3E%0A%09%3Cdiv%20style%3D%22width%3A%2019%25%3B%20float%3A%20left%3B%20border-left%3A%201px%20solid%20%23DDDDDD%3Bpadding%3A%200%3Bfont-size%3A%2013px%3B%22%3E2%3C%2Fdiv%3E%0A%09%3Cdiv%20style%3D%22width%3A%2019%25%3B%20float%3A%20left%3B%20border-left%3A%201px%20solid%20%23DDDDDD%3Bpadding%3A%200%3Bborder-right%3A%201px%20solid%20%23DDDDDD%3Bfont-size%3A%2013px%3B%22%3E1%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3Cdiv%20class%3D%22HorizontalGradient%22%3E%26nbsp%3B%3C%2Fdiv%3E%0A%3Cspan%20style%3D%22float%3A%20left%3B%20font-size%3A%2014px%3B%22%3ESweet%3C%2Fspan%3E%0A%3Cspan%20style%3D%22float%3A%20right%3B%20font-size%3A%2014px%3B%22%3EDry%3C%2Fspan%3E