Skip to content

Conversation

mark-8
Copy link

@mark-8 mark-8 commented Dec 14, 2020

Should resolve #256

@phpfui
Copy link

phpfui commented Oct 7, 2021

This looks like a good fix to me.

I also added it to PR #289, so you could close this if you wanted.

@rgex
Copy link

rgex commented Aug 5, 2023

@paquettg please merge this 🙏

@phpfui
Copy link

phpfui commented Aug 5, 2023

This repo is no longer maintained. I suggest moving to another one. See the comments in #289

mr-chetan added a commit to devanoxltd/php-html-parser that referenced this pull request Aug 24, 2025
Added an is_object check before accessing tag methods in the parser to prevent potential errors when tag is not an object.

https: //github.com/paquettg/pull/257
Co-Authored-By: Mark <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fatal Error: Call to a member function name() on string
3 participants