php-html-parser icon indicating copy to clipboard operation
php-html-parser copied to clipboard

Fix for str_replace()

Open gemini1389 opened this issue 5 years ago • 1 comments

Error: TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, null given

gemini1389 avatar Dec 29 '20 12:12 gemini1389

This looks like a good fix to me.

I also added it to PR https://github.com/paquettg/php-html-parser/pull/289, so you could close this if you wanted.

phpfui avatar Oct 07 '21 18:10 phpfui