3v4l.org

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