![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/vendor/masterminds/html5/ |
From 1.x to 2.x ================= - All classes uses `Masterminds` namespace. - All public static methods has been removed from `HTML5` class and the general API to access the HTML5 functionalities has changed. Before: $dom = \HTML5::loadHTML('<html>....'); \HTML5::saveHTML($dom); After: use Masterminds\HTML5; $html5 = new HTML5(); $dom = $html5->loadHTML('<html>....'); echo $html5->saveHTML($dom);