php-simple-html-dom-parser
php-simple-html-dom-parser copied to clipboard
PHP Simple HTML DOM Parser adaptation for Composer and PSR-0
fix regex
preg_match(): Compilation failed: invalid range in character class at offset 4 in \simple_html_dom.php on line 1378 Hey anybody knows why this problem occured? Can anybody give the fix to this...
PHP Warning 'yii\base\ErrorException' with message 'preg_match(): Compilation failed: invalid range in character class at offset 4' in .../sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php:1378 https://github.com/sunra/php-simple-html-dom-parser/blob/master/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php#L1378
The order of the dashes in character classes is affected by later versions of PHP, changing the order of the character ranges fixes the problem, have shortcodes after any dashes....
Upgraded simple_html_dom to **v1.8.1** version. It works on PHP 7.3+ now!
PHP 7.4
Does the library work with PHP 7.4 ? Cause i get some error, in the past i already used the Php Simple Html Parser and everything was all right.
https://flareapp.io/share/87nB6OD7 i am including the stacktrace because i dont understand why its not working in online server but its working in local host php version (server): 8.0.3 php info link...
https://github.com/voku/simple_html_dom --- A HTML DOM parser written in PHP - let you manipulate HTML in a very easy way! This is a fork of PHP Simple HTML DOM Parser project...
In PHP 7.3, PCRE2 (the library that parses regular expressions) has been upgraded to version 10.32. It seems that this new version of PCRE is a bit more picky when...