3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $html = '<div><iframe style="display: block; margin-left: auto; margin-right: auto;" src="https://www.youtube.com/embed/miE64ZdLwzE" frameborder="0" width="420" height="315"></iframe><br /> <iframe src="http://www.youtube.com/embed/gNOJWXjrNIE?wmode=transparent" frameborder="0" width="500" height="320"></iframe><br /> <br /> <span style="font-size: large;"><strong><span style="color: #0000ff;">測試影片2<br /> <iframe src="http://www.youtube.com/embed/F2uX6ByoW7A?wmode=transparent" frameborder="0" width="500" height="320"></iframe><br /><br /><br />eeeeeee</span></strong></span></div>'; $html = tidy_repair_string($html); var_dump($html);
based on Xpggk
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function tidy_repair_string() in /in/JRYEu:4 Stack trace: #0 {main} thrown in /in/JRYEu on line 4
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Fatal error: Call to undefined function tidy_repair_string() in /in/JRYEu on line 4
Process exited with code 255.