3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = ' <div style="clear:both;float:left;width:100%;margin-bottom:15px"> <span class="produktvariant " style="height: 320px;"> <img src="multimedia/_x0_dimension_6.jpg" width="121" height="113" alt=".x0"> <br>Uden besætning, til montering på lang- eller faconskilte.<br><br><div style="float: left;">Rustfrit stål</div><div style="float: right; font-weight: bold;">1010.00</div><br clear="ALL"><div style="float: left;">Messing</div><div style="float: right; font-weight: bold;">p1010.90</div><br clear="ALL"><br><br> </span> <span class="produktvariant produktvariantdash" style="height: 320px;"> <img src="multimedia/variant_dorgreb-x4x5_dimension_6.jpg" width="121" height="113" alt=".x4/.x5"> <br>Med fastmonteret massiv roset, ø50x2 mm.<br><br>Centerafstand 30 mm<div style="float: left;">Rustfrit stål</div><div style="float: right; font-weight: bold;">1010.04</div><br clear="ALL"><div style="float: left;">Messing</div><div style="float: right; font-weight: bold;">p1010.94</div><br clear="ALL"><br><br>Centerafstand 38 mm<div style="float: left;">Rustfrit stål</div><div style="float: right; font-weight: bold;">1010.05</div><br clear="ALL"><div style="float: left;">Messing</div><div style="float: right; font-weight: bold;">p1010.95</div><br clear="ALL"><br><br> </span> <span class="produktvariant produktvariantdash" style="height: 320px;"> <img src="multimedia/variant_dorgreb-x6_dimension_6.jpg" width="121" height="113" alt=".x6"> <br>Med fastmonteret massiv roset, ø50x2 mm.<br><br>Centerafstand 38 mm<div style="float: left;">Rustfrit stål</div><div style="float: right; font-weight: bold;">1010.06</div><br clear="ALL"><div style="float: left;">Messing</div><div style="float: right; font-weight: bold;">p1010.96</div><br clear="ALL"><br><br> </span> <span class="produktvariant produktvariantdash" style="height: 320px;"> <img src="multimedia/variant_dorgreb-x84x85_dimension_6.jpg" width="120" height="121" alt=".x84/.x85"> <br>Med fastmonteret underroset samt cover, ø52x4 mm.<br><br>Centerafstand 30 mm<div style="float: left;">Rustfrit stål</div><div style="float: right; font-weight: bold;">1010.084</div><br clear="ALL"><div style="float: left;">Messing</div><div style="float: right; font-weight: bold;">p1010.984</div><br clear="ALL"><br><br>Centerafstand 38 mm<div style="float: left;">Rustfrit stål</div><div style="float: right; font-weight: bold;">1010.085</div><br clear="ALL"><div style="float: left;">Messing</div><div style="float: right; font-weight: bold;">p1010.985</div><br clear="ALL"><br><br> </span> </div> '; $oDom = new DOMDocument; ?>
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: domdocument in /in/QZM1a on line 28
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: domdocument in /in/QZM1a on line 28