3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rawurlencode('<DIV CLASS="HorizontalGradient">&nbsp;</DIV><SPAN STYLE="float: left; font-size: 14px;">Sweet (5)</SPAN><SPAN STYLE="float: right; font-size: 14px;">Dry (1)</SPAN>'); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
%3CDIV%20CLASS%3D%22HorizontalGradient%22%3E%26nbsp%3B%3C%2FDIV%3E%3CSPAN%20STYLE%3D%22float%3A%20left%3B%20font-size%3A%2014px%3B%22%3ESweet%20%285%29%3C%2FSPAN%3E%3CSPAN%20STYLE%3D%22float%3A%20right%3B%20font-size%3A%2014px%3B%22%3EDry%20%281%29%3C%2FSPAN%3E